Delete .github/workflows/restore-demo.SHSSSS

This commit is contained in:
Stefan Pejcic 2025-05-14 12:55:08 +02:00 committed by GitHub
parent e512874851
commit 061f9ad8d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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