Refresh #962
This file contains 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: 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 |