Files
revanced-website/.github/workflows/refresh.yaml
Ax333l 5b97640f94 chore: refresh prerendered content
Github Actions will trigger a deploy hook every two hours
2022-11-05 14:13:23 +01:00

14 lines
290 B
YAML

name: refresh
on:
schedule:
- cron: '0 */2 * * *'
workflow_dispatch:
jobs:
cron:
runs-on: ubuntu-latest
environment: production
steps:
- name: Refresh the site prerender with the latest API data
run: |
curl -X POST '${{ secrets.DEPLOY_HOOK }}'