diff --git a/.github/workflows/restore-demo.yaml b/.github/workflows/restore-demo.yaml new file mode 100644 index 00000000..1ac29d61 --- /dev/null +++ b/.github/workflows/restore-demo.yaml @@ -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