Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Refresh Static Content #957

Refresh Static Content

Refresh Static Content #957

Workflow file for this run

# File: .github/workflows/refresh.yml
name: Refresh Static Content
on:
schedule:
- cron: '0 8 * * *' # Runs every day at 8am
jobs:
refresh:
runs-on: ubuntu-latest
steps:
- name: Trigger GitHub pages rebuild
run: |
curl --fail --request POST \
--url https://api.github.com/repos/${{ github.repository }}/pages/builds \
--header "Authorization: Bearer $DEPLOY_TOKEN"
env:
DEPLOY_TOKEN: ${{ secrets.DEPLOY_TOKEN }}