Update auto-update.yml

This commit is contained in:
freearhey 2021-03-10 01:49:10 +03:00
parent 14d6e84b5d
commit 48fb20c1fd
1 changed files with 7 additions and 8 deletions

View File

@ -9,11 +9,10 @@ jobs:
uses: actions/checkout@v2
- name: Update Guide
run: ./run.sh
- name: Commit Changes
run: |
git config user.name github-actions
git config user.email github-actions@github.com
git add .
git diff-index --quiet HEAD || git commit -m "[Bot] Update Guide"
git pull
git push
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@master
env:
ACCESS_TOKEN: ${{ secrets.REPO_SCOPED_TOKEN }}
BASE_BRANCH: master
BRANCH: gh-pages
FOLDER: .gh-pages