Skip to content

Commit

Permalink
feat: update deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
zyao89 committed Nov 27, 2023
1 parent ddc6ea4 commit 4a685e4
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/deploy.yml
Expand Up @@ -10,17 +10,22 @@ jobs:
- name: Checkout
uses: actions/checkout@master

- name: Setup
uses: actions/setup-node@master
with:
node-version: 16

- name: Install
run: npm install
run: yarn

- name: Build
run: npm run-script build
run: yarn run build
env:
GAID: ${{ secrets.GAID }}
GITHUB_CLIENT_ID: ${{ secrets.GITHUB_CLIENT_ID }}
GITHUB_CLIENT_SECRET: ${{ secrets.GITHUB_CLIENT_SECRET }}

- name: Deploy
run: npm run-script deploy
run: yarn run deploy
env:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}

0 comments on commit 4a685e4

Please sign in to comment.