Skip to content

Commit

Permalink
Update static.yml remove commit to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
DoYouSpeakRowing committed Dec 30, 2023
1 parent cfcccc3 commit 7008b4a
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,15 @@ jobs:
echo "url-count = ${{ steps.sitemap.outputs.url-count }}"
echo "excluded-count = ${{ steps.sitemap.outputs.excluded-count }}"
- name: Commit and push sitemap
run: |
if [[ `git status --porcelain ./docs` ]]; then
git config --global user.name 'github-actions'
git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com'
git add ./docs
git commit -m "Automated sitemap update" ./docs
git push
fi
#- name: Commit and push sitemap
# run: |
# if [[ `git status --porcelain ./docs` ]]; then
# git config --global user.name 'github-actions'
# git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com'
# git add ./docs
# git commit -m "Automated sitemap update" ./docs
# git push
# fi
- name: Upload GitHub Pages artifact
uses: actions/upload-pages-artifact@v1
with:
Expand Down

0 comments on commit 7008b4a

Please sign in to comment.