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 config --local user.name "GitHub Action"
git add . git add .
git commit -m "Update documentation" -a || true 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 above command will fail if no changes were present, so we ignore
# the return code. # the return code.
- name: Push changes # - name: Push changes
uses: ad-m/github-push-action@master # uses: ad-m/github-push-action@master
with: # with:
branch: ghpages # branch: ghpages
directory: docs # directory: docs
github_token: ${{ secrets.GITHUB_TOKEN }} # github_token: ${{ secrets.GITHUB_TOKEN }}