Skip to content

Commit 4a89beb

Browse files
committed
fix: release set-up
1 parent ff79117 commit 4a89beb

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,14 @@ jobs:
3434
run: npm ci
3535
- name: Run build
3636
run: npm run build
37+
- name: Generate app token
38+
id: app-token
39+
uses: actions/[email protected]
40+
with:
41+
app-id: ${{secrets.GH_APP_ID}}
42+
private-key: ${{secrets.GH_APP_PRIVATE_KEY}}
3743
- name: Release
3844
run: npx semantic-release
3945
env:
40-
GITHUB_TOKEN: ${{secrets.RELEASE_TOKEN}}
46+
GITHUB_TOKEN: ${{steps.app-token.outputs.token}}
4147
NPM_TOKEN: ${{secrets.NPM_TOKEN}}

0 commit comments

Comments
 (0)