This commit is contained in:
Magnus Persson 2022-01-08 16:31:38 +01:00
parent e321eadf0f
commit b277274eab

View File

@ -34,11 +34,12 @@ jobs:
git config --local user.name "GitHub Action"
git add .
git commit -m "Update documentation" -a || true
git push https://${{ secrets.GITHUB_TOKEN }}@github.com/mp-se/gravitymon.git
# The above command will fail if no changes were present, so we ignore
# the return code.
- name: Push changes
uses: ad-m/github-push-action@master
with:
branch: ghpages
directory: docs
github_token: ${{ secrets.GITHUB_TOKEN }}
# - name: Push changes
# uses: ad-m/github-push-action@master
# with:
# branch: ghpages
# directory: docs
# github_token: ${{ secrets.GITHUB_TOKEN }}