From 1d1bd334c66349a2a75bfdc1909c105c1f801050 Mon Sep 17 00:00:00 2001 From: PJ568 Date: Sun, 18 Jun 2023 15:19:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/create_sitemap.yml | 8 ++++++++ 1 file changed, 8 insertions(+) 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