Skip to content

Commit 990683d

Browse files
committed
fix: publish ci action
1 parent daf3d04 commit 990683d

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/publish.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ on:
77

88
jobs:
99
build:
10+
env:
11+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
12+
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
13+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
14+
CI: true
1015
runs-on: ubuntu-latest
1116
steps:
1217
- uses: actions/checkout@v4
@@ -24,10 +29,6 @@ jobs:
2429
run: npm run build
2530
- name: Publish
2631
if: success()
27-
env:
28-
GH_TOKEN: ${{ secrets.GH_TOKEN }}
29-
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
30-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
3132
run: npx semantic-release
3233
- run: npm run build
3334
if: success()

0 commit comments

Comments
 (0)