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:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Deploy to GitHub Pages
uses: Cecilapp/GitHub-Pages-deploy@master
env:
EMAIL: sun.sivan@gmail.com
GH_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BASE_BRANCH: master
BUILD_DIR: demo
- name: Build and Deploy
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages
FOLDER: demo