mirror of
https://github.com/revanced/revanced-website.git
synced 2025-04-29 22:24:31 +02:00
chore: refresh prerendered content
Github Actions will trigger a deploy hook every two hours
This commit is contained in:
parent
22c9a792c1
commit
5b97640f94
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 }}'
|
Loading…
x
Reference in New Issue
Block a user