Update auto-update.yml

This commit is contained in:
freearhey 2021-03-10 01:49:10 +03:00
parent 14d6e84b5d
commit 48fb20c1fd

View file

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