Skip to content

Commit e9a9fef

Browse files
committed
fix: release work
1 parent d1b3afb commit e9a9fef

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/publish.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ env:
99
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
1010
ENV_SUT: ${{ secrets.ENV_SUT }}
1111
CI_PROVIDER_TO_TEST: 'github'
12+
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTOMATION_TOKEN}}
13+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
1214

1315
jobs:
1416
release:
@@ -23,13 +25,9 @@ jobs:
2325
registry-url: 'https://registry.npmjs.org'
2426
- id: publish
2527
run: scripts/ci/release.sh
26-
env:
27-
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTOMATION_TOKEN}}
2828
- name: Create Release
2929
id: create_release
3030
uses: actions/create-release@v1
31-
env:
32-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
3331
with:
3432
tag_name: v${{ steps.publish.outputs.version }}
3533
release_name: Release v${{ steps.publish.outputs.version }}

0 commit comments

Comments
 (0)