Skip to content

Commit cb57722

Browse files
authored
ci: Fix to push tag (#38)
1 parent 71bd813 commit cb57722

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/publish.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,17 @@ jobs:
2323
timeout-minutes: 10
2424
environment: npm-registry
2525
steps:
26+
- name: Generate token
27+
id: generate_token
28+
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
29+
with:
30+
app-id: ${{ vars.GH_APP_ID }}
31+
private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
32+
2633
- name: Checkout Repository
2734
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
2835
with:
29-
persist-credentials: false
36+
token: ${{ steps.generate_token.outputs.token }}
3037

3138
- name: Initialize
3239
uses: ./.github/actions/setup-environment

0 commit comments

Comments
 (0)