File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -74,10 +74,11 @@ jobs:
7474 -H "Content-Type: application/json" \
7575 --data '{"purge_everything":true}'
7676
77- - name : Ping search engines
77+ - name : Ping search engines and Internet Archive
7878 run : |
7979 curl https://www.google.com/webmasters/tools/ping?sitemap=https://whatthefuckjusthappenedtoday.com/sitemap.xml
8080 curl http://www.bing.com/ping?sitemap=https://whatthefuckjusthappenedtoday.com/sitemap.xml
81+ curl https://web.archive.org/save/https://whatthefuckjusthappenedtoday.com
8182
8283 - name : Notify Slack
8384 if : always()
8889 SLACK_ICON_EMOJI : ' :newspaper:'
8990 SLACK_TITLE : GitHub Actions Build
9091 SLACK_COLOR : ${{ job.status == 'success' && '#36a64f' || '#ff0000' }}
91- SLACK_MESSAGE : " ${{ github.workflow }} #${{ github.run_number }} by ${{ github.actor }} - ${{ job.status }}"
92-
93- archive-site :
94- runs-on : ubuntu-latest
95- if : github.event_name != 'schedule'
96- steps :
97- - name : Submit site to Internet Archive
98- run : |
99- curl https://web.archive.org/save/https://whatthefuckjusthappenedtoday.com
92+ SLACK_MESSAGE : " ${{ github.workflow }} #${{ github.run_number }} by ${{ github.actor }} - ${{ job.status }}"
You can’t perform that action at this time.
0 commit comments