diff --git a/.github/workflows/create_sitemap.yml b/.github/workflows/create&push_sitemap.yml similarity index 87% rename from .github/workflows/create_sitemap.yml rename to .github/workflows/create&push_sitemap.yml index b58866ea..c03e3f25 100644 --- a/.github/workflows/create_sitemap.yml +++ b/.github/workflows/create&push_sitemap.yml @@ -33,4 +33,7 @@ jobs: 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 + git push + + - name: Ping Google + run: curl https://www.google.com/ping?sitemap=https://Tools.PJ568.eu.org/sitemap.xml \ No newline at end of file diff --git a/.github/workflows/push_sitemap.yml b/.github/workflows/push_sitemap.yml deleted file mode 100644 index 66bebff3..00000000 --- a/.github/workflows/push_sitemap.yml +++ /dev/null @@ -1,16 +0,0 @@ -# workflow to summit Sitemap to google, etc. - -name: Submit Sitemap - -on: - push: - branches: - - main - -jobs: - submit: - runs-on: ubuntu-latest - - steps: - - name: Ping Google - run: curl https://www.google.com/ping?sitemap=https://Tools.PJ568.eu.org/sitemap.xml \ No newline at end of file