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:
- uses: actions/checkout@v2
with:
persist-credentials: false
- name: Invoke Webpack build
run: |
npm install .
npm run build
- name: Invoke Deployment
env:
BUILD_DIR: dist
uses: maxheld83/ghpages@v0.2.1
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages
FOLDER: dist
uses: JamesIves/github-pages-deploy-action@3.2.1