mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update build-new-demo.yaml
This commit is contained in:
parent
433afa1517
commit
5032b33ac2
22
.github/workflows/build-new-demo.yaml
vendored
22
.github/workflows/build-new-demo.yaml
vendored
@ -23,7 +23,7 @@ jobs:
|
||||
- name: Set up SSH key
|
||||
run: |
|
||||
mkdir -p ~/.ssh
|
||||
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
|
||||
echo "${{ secrets.SSH_KEY_PATH }}" > ~/.ssh/id_rsa
|
||||
chmod 600 ~/.ssh/id_rsa
|
||||
|
||||
- name: Run Rebuild Script and Capture Snapshot ID
|
||||
@ -47,23 +47,3 @@ jobs:
|
||||
git add demo/SNAPSHOT_ID.env
|
||||
git commit -m "Demo rebuilt with new version - snapshot id: ${{ env.snapshot_id }}"
|
||||
git push
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
- name: Set up SSH key
|
||||
run: |
|
||||
mkdir -p ~/.ssh
|
||||
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
|
||||
chmod 600 ~/.ssh/id_rsa
|
||||
|
||||
# Run the rebuild script
|
||||
- name: Rebuilding the demo site for new OpenPanel version
|
||||
run: |
|
||||
chmod +x demo/rebuild.sh
|
||||
./demo/rebuild.sh
|
||||
|
Loading…
Reference in New Issue
Block a user