fix: fix action
This commit is contained in:
parent
898d2de3d8
commit
13859b8fe0
1 changed files with 10 additions and 9 deletions
19
.github/workflows/deploy.yml
vendored
19
.github/workflows/deploy.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue