Skip to content

Commit a684d09

Browse files
committed
ci: fix GH Token
1 parent 8520b85 commit a684d09

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,8 @@ jobs:
192192
release:
193193
runs-on: ubuntu-latest
194194
needs: [build-ssr, build-csr, build-functions, install]
195+
env:
196+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
195197
steps:
196198
- uses: actions/checkout@v2
197199
- uses: actions/setup-node@v2-beta
@@ -230,7 +232,9 @@ jobs:
230232
name: ${{ runner.os }}-build-functions-${{ needs.install.outputs.version }}
231233
path: functions/dist
232234

233-
- run: npm run release
235+
- run: |
236+
ls -la
237+
npm run release
234238
235239
deploy-ssr:
236240
runs-on: ubuntu-latest

.releaserc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"@semantic-release/release-notes-generator",
55
["@semantic-release/github", {
66
"assets": [
7-
{"path": "public/**", "label": "UI Distribution"},
7+
{"path": "public-ssr/**", "label": "UI SSR Distribution"},
8+
{"path": "public-csr/**", "label": "UI CSR Distribution"},
89
{"path": "functions/dist/**", "label": "Functions Distribution"}
910
]
1011
}]

0 commit comments

Comments
 (0)