From b38b22ff9bd05111f6f5d2490d54819eeb227ccb Mon Sep 17 00:00:00 2001 From: Stefan Pejcic Date: Tue, 3 Dec 2024 08:39:39 +0100 Subject: [PATCH] Create restore-demo.yaml --- .github/workflows/restore-demo.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/restore-demo.yaml 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