fix: fix action

This commit is contained in:
Sivan 2020-02-21 01:49:22 +08:00
parent 898d2de3d8
commit 13859b8fe0

View file

@ -9,13 +9,14 @@ jobs:
build-and-deploy: build-and-deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@master uses: actions/checkout@v2
with:
persist-credentials: false
- name: Deploy to GitHub Pages - name: Build and Deploy
uses: Cecilapp/GitHub-Pages-deploy@master uses: JamesIves/github-pages-deploy-action@releases/v3
env: with:
EMAIL: sun.sivan@gmail.com ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
GH_TOKEN: ${{ secrets.ACCESS_TOKEN }} BRANCH: gh-pages
BASE_BRANCH: master FOLDER: demo
BUILD_DIR: demo