Created
August 9, 2023 23:19
-
-
Save yuito-it/fa3777cb5b76833ee432eef666d9e199 to your computer and use it in GitHub Desktop.
sitemap.xmlを自動送信させる。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: update-sitemap | |
| on: | |
| schedule: | |
| - cron: '0 15 * * *' | |
| jobs: | |
| update-sitemap: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Ping to Google | |
| run: | | |
| curl -X GET "http://www.google.com/ping?sitemap=https://yuito-it.github.io/blog/sitemap.xml" | |
| curl -X GET "http://www.google.com/ping?sitemap=https://yuito-it.github.io/blog/rss/feed.xml" | |
| curl -X GET "http://www.google.com/ping?sitemap=https://yuito-it.github.io/blog/rss/atom.xml" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment