mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Delete .github/workflows/restore-demo.SHSSSS
This commit is contained in:
parent
e512874851
commit
061f9ad8d3
28
.github/workflows/restore-demo.SHSSSS
vendored
28
.github/workflows/restore-demo.SHSSSS
vendored
@ -1,28 +0,0 @@
|
|||||||
name: Restore OpenPanel demo site
|
|
||||||
|
|
||||||
on:
|
|
||||||
schedule:
|
|
||||||
- cron: '0 * * * *'
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
hourly-tasks:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Load SNAPSHOT_ID from environment file
|
|
||||||
run: |
|
|
||||||
echo "SNAPSHOT_ID=$(cat demo/SNAPSHOT_ID.env)" >> $GITHUB_ENV
|
|
||||||
|
|
||||||
- name: Restore demo site
|
|
||||||
env:
|
|
||||||
DIGITALOCEAN_TOKEN: ${{ secrets.DIGITALOCEAN_TOKEN }}
|
|
||||||
DROPLET_ID: ${{ secrets.DROPLET_ID }}
|
|
||||||
SNAPSHOT_ID: ${{ env.SNAPSHOT_ID }}
|
|
||||||
|
|
||||||
run: |
|
|
||||||
chmod +x ./demo/restore-snapshot.sh
|
|
||||||
./demo/restore-snapshot.sh
|
|
Loading…
Reference in New Issue
Block a user