Skip to content

Commit

Permalink
fix: fix error in github push
Browse files Browse the repository at this point in the history
fix the error thrown by GitHub Push actions.
See reference here: ad-m/github-push-action#44
  • Loading branch information
ZPYin committed Mar 19, 2020
1 parent 78ba481 commit 3f627b4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ jobs:

steps:
- uses: actions/checkout@master
with:
persist-credentials: false
fetch-depth: 0

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@master
Expand Down Expand Up @@ -80,7 +83,7 @@ jobs:
git commit -m "Update figures by GitHub Actions" -a
- name: GitHub Push
uses: ad-m/github-push-action@v0.5.0
uses: ad-m/github-push-action@master
with:
# Token for the repo. Can be passed in using $\{{ secrets.GITHUB_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 3f627b4

Please sign in to comment.