Maybe fixes gh-pages push error

This commit is contained in:
Jordan Brown
2020-08-19 16:06:44 -04:00
parent 4f23114988
commit fd8d5f31ba
+1 -1
View File
@@ -104,7 +104,7 @@ jobs:
echo "Adding files..."
git add --all
echo "Committing..."
git commit -m "Deploy code docs to GitHub Pages for workflow run ${{ github.run_number }}" -m "Commit: ${{ github.event.head_commit.id }}"
git diff-index --quiet HEAD || git commit -m "Deploy code docs to GitHub Pages for workflow run ${{ github.run_number }}" -m "Commit: ${{ github.event.head_commit.id }}"
echo "Pushing..."
git push -f "https://${{ secrets.DEV_PUSH_TOKEN }}@github.com/tgstation/tgstation-server" 2>&1