Skip to content

Commit

Permalink
:update: change deploy yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zyao89 committed Jan 9, 2020
1 parent 19214a9 commit 922e9b6
Showing 1 changed file with 7 additions and 15 deletions.
22 changes: 7 additions & 15 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,15 @@ jobs:
- name: Build
run: |
npm install
# npm run-script 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
npm run-script build
env:
GAID: ${{ secrets.GAID }}
GITHUB_CLIENT_ID: ${{ secrets.GITHUB_CLIENT_ID }}
GITHUB_CLIENT_SECRET: ${{ secrets.GITHUB_CLIENT_SECRET }}

- name: Deploy
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - name: Deploy
# uses: JamesIves/github-pages-deploy-action@releases/v3
# with:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# BRANCH: gh-pages
# FOLDER: docs/.vuepress/dist
BRANCH: gh-pages
FOLDER: docs/.vuepress/dist

0 comments on commit 922e9b6

Please sign in to comment.