Skip to content

Commit adbb4bf

Browse files
committed
build: fix ci release
1 parent ac52816 commit adbb4bf

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
branches:
99
- master
1010
- $default_branch
11+
- 7-deploy-add-semantic-release
1112

1213
jobs:
1314
deploy:
@@ -23,6 +24,9 @@ jobs:
2324
run: npm ci
2425
- name: Build project
2526
run: npm run build
26-
-
27-
27+
- name: Deploy project
28+
env:
29+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
30+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31+
run: npx semantic-release
2832

0 commit comments

Comments
 (0)