Create restore-demo.yaml

This commit is contained in:
Stefan Pejcic 2024-12-03 08:39:39 +01:00 committed by GitHub
parent 65fcf6d39e
commit b38b22ff9b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

20
.github/workflows/restore-demo.yaml vendored Normal file
View File

@ -0,0 +1,20 @@
name: Hourly Job
on:
schedule:
- cron: '0 * * * *'
jobs:
hourly-tasks:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Restore demo site
env:
DIGITALOCEAN_TOKEN: ${{ secrets.DIGITALOCEAN_TOKEN }}
run: |
chmod +x ./demo/2087/rebuild.sh
./demo/2087/rebuild.sh