File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 4040 bundle install --jobs=3 --retry=3
4141 bundle clean --force
4242
43- - name : Make scripts executable
44- run : chmod +x ./script/*
45-
4643 - name : Run cron build (Algolia)
4744 if : github.event_name == 'schedule'
4845 run : |
5552 shell : bash
5653
5754 - name : Deploy to S3
55+ if : github.event_name != 'schedule'
5856 uses : reggionick/s3-deploy@v4
5957 with :
6058 folder : _site
6866 AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
6967
7068 - name : Purge Cloudflare cache
69+ if : github.event_name != 'schedule'
7170 run : |
7271 curl -X DELETE "https://api.cloudflare.com/client/v4/zones/2fa02b93146397fbf2001d812ab8b31f/purge_cache" \
7372 -H "X-Auth-Email: ${{ secrets.CLOUD_FLARE_EMAIL }}" \
7675 --data '{"purge_everything":true}'
7776
7877 - name : Ping search engines and Internet Archive
78+ if : github.event_name != 'schedule'
7979 run : |
8080 curl https://www.google.com/webmasters/tools/ping?sitemap=https://whatthefuckjusthappenedtoday.com/sitemap.xml
8181 curl http://www.bing.com/ping?sitemap=https://whatthefuckjusthappenedtoday.com/sitemap.xml
You can’t perform that action at this time.
0 commit comments