mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Create restore-demo.yaml
This commit is contained in:
parent
65fcf6d39e
commit
b38b22ff9b
20
.github/workflows/restore-demo.yaml
vendored
Normal file
20
.github/workflows/restore-demo.yaml
vendored
Normal 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
|
Loading…
Reference in New Issue
Block a user