mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update restore-demo.yaml
This commit is contained in:
parent
78f99dd928
commit
4c267708dc
7
.github/workflows/restore-demo.yaml
vendored
7
.github/workflows/restore-demo.yaml
vendored
@ -12,9 +12,16 @@ jobs:
|
|||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
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
|
- name: Restore demo site
|
||||||
env:
|
env:
|
||||||
DIGITALOCEAN_TOKEN: ${{ secrets.DIGITALOCEAN_TOKEN }}
|
DIGITALOCEAN_TOKEN: ${{ secrets.DIGITALOCEAN_TOKEN }}
|
||||||
|
DROPLET_ID: ${{ secrets.DROPLET_ID }}
|
||||||
|
SNAPSHOT_ID: ${{ env.SNAPSHOT_ID }}
|
||||||
|
|
||||||
run: |
|
run: |
|
||||||
chmod +x ./demo/restore-snapshot.sh
|
chmod +x ./demo/restore-snapshot.sh
|
||||||
./demo/restore-snapshot.sh
|
./demo/restore-snapshot.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user