修改流程

main
PJ568 2 years ago
parent 92d750e2f4
commit 1d1bd334c6

@ -26,3 +26,11 @@ jobs:
echo "sitemap-path = ${{ steps.sitemap.outputs.sitemap-path }}" echo "sitemap-path = ${{ steps.sitemap.outputs.sitemap-path }}"
echo "url-count = ${{ steps.sitemap.outputs.url-count }}" echo "url-count = ${{ steps.sitemap.outputs.url-count }}"
echo "excluded-count = ${{ steps.sitemap.outputs.excluded-count }}" echo "excluded-count = ${{ steps.sitemap.outputs.excluded-count }}"
- name: Push sitemap to repository
run: |
git config --global user.name "PJ569-bot"
git config --global user.email "LiuTian-PJ568@PJ568.eu.org"
git add sitemap.xml
git commit -m "add sitemap.xml"
git push
Loading…
Cancel
Save