Skip to content

Refresh

Refresh #695

Workflow file for this run

name: Refresh
on:
workflow_dispatch:
schedule:
- cron: '05 14 * * *' # Runs every day at 14:05 UTC. 5 min added to ensure posts scheduled for on the hour go out.
jobs:
refresh:
runs-on: ubuntu-latest
steps:
- name: Trigger GitHub pages rebuild
env:
USER_TOKEN: ${{ secrets.USER_TOKEN }}
run: |
curl -X POST -H "Accept: application/vnd.github+json" -H "Authorization: Bearer $USER_TOKEN" https://api.github.com/repos/${{ github.repository }}/pages/builds