mirror of
https://github.com/ReVanced/revanced-website.git
synced 2026-01-11 13:46:17 +00:00
chore: refresh prerendered content
Github Actions will trigger a deploy hook every two hours
This commit is contained in:
13
.github/workflows/refresh.yaml
vendored
Normal file
13
.github/workflows/refresh.yaml
vendored
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
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 }}'
|
||||||
Reference in New Issue
Block a user