Update deploy-pages.yml

This commit is contained in:
amphineko 2020-02-14 12:42:06 +08:00 committed by GitHub
parent e1260caa2d
commit f08f71aff6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,11 +12,17 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with:
persist-credentials: false
- name: Invoke Webpack build - name: Invoke Webpack build
run: | run: |
npm install . npm install .
npm run build npm run build
- name: Invoke Deployment - name: Invoke Deployment
env: env:
BUILD_DIR: dist ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
uses: maxheld83/ghpages@v0.2.1 BRANCH: gh-pages
FOLDER: dist
uses: JamesIves/github-pages-deploy-action@3.2.1