diff --git a/.github/workflows/create_sitemap.yml b/.github/workflows/create_sitemap.yml index 98c5ea93..b58866ea 100644 --- a/.github/workflows/create_sitemap.yml +++ b/.github/workflows/create_sitemap.yml @@ -26,3 +26,11 @@ jobs: echo "sitemap-path = ${{ steps.sitemap.outputs.sitemap-path }}" echo "url-count = ${{ steps.sitemap.outputs.url-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 \ No newline at end of file