Skip to content

Commit 4a685e4

Browse files
committed
feat: update deploy
1 parent ddc6ea4 commit 4a685e4

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,22 @@ jobs:
1010
- name: Checkout
1111
uses: actions/checkout@master
1212

13+
- name: Setup
14+
uses: actions/setup-node@master
15+
with:
16+
node-version: 16
17+
1318
- name: Install
14-
run: npm install
19+
run: yarn
1520

1621
- name: Build
17-
run: npm run-script build
22+
run: yarn run build
1823
env:
1924
GAID: ${{ secrets.GAID }}
2025
GITHUB_CLIENT_ID: ${{ secrets.GITHUB_CLIENT_ID }}
2126
GITHUB_CLIENT_SECRET: ${{ secrets.GITHUB_CLIENT_SECRET }}
2227

2328
- name: Deploy
24-
run: npm run-script deploy
29+
run: yarn run deploy
2530
env:
2631
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}

0 commit comments

Comments
 (0)