fix: fix action
This commit is contained in:
parent
898d2de3d8
commit
13859b8fe0
1 changed files with 10 additions and 9 deletions
17
.github/workflows/deploy.yml
vendored
17
.github/workflows/deploy.yml
vendored
|
@ -10,12 +10,13 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@master
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue