From 5032b33ac28bacbcc18c26b75ead625e7175f8d6 Mon Sep 17 00:00:00 2001 From: Stefan Pejcic Date: Tue, 3 Dec 2024 09:57:38 +0100 Subject: [PATCH] Update build-new-demo.yaml --- .github/workflows/build-new-demo.yaml | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/.github/workflows/build-new-demo.yaml b/.github/workflows/build-new-demo.yaml index 5cd2aa33..45f2f525 100644 --- a/.github/workflows/build-new-demo.yaml +++ b/.github/workflows/build-new-demo.yaml @@ -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