From 7323eb53107f033c67e25144b9719f46b82925fb Mon Sep 17 00:00:00 2001 From: Will Crichton Date: Thu, 29 Aug 2024 17:40:25 -0700 Subject: [PATCH] Fix zone in pre-release --- .github/workflows/pre-release.yml | 2 +- .github/workflows/run-on-remote/action.yml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index 0f0a054ee..47d9e4bc2 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -66,7 +66,7 @@ jobs: with: version: '>= 412.0.0' - name: Upload artifacts - run: gcloud compute scp artifacts.zip gh-actions@aquascope:~/ --zone us-central1-a --tunnel-through-iap + run: gcloud compute scp artifacts.zip gh-actions@aquascope:~/ --zone us-central1-c --tunnel-through-iap update-frontend: needs: build-backend diff --git a/.github/workflows/run-on-remote/action.yml b/.github/workflows/run-on-remote/action.yml index 745805674..9adaecea8 100644 --- a/.github/workflows/run-on-remote/action.yml +++ b/.github/workflows/run-on-remote/action.yml @@ -21,12 +21,12 @@ runs: with: version: '>= 412.0.0' - name: Copy to server - run: gcloud compute scp ./${{ inputs.file }} gh-actions@aquascope:~/${{ inputs.file }} --zone us-central1-a --tunnel-through-iap + run: gcloud compute scp ./${{ inputs.file }} gh-actions@aquascope:~/${{ inputs.file }} --zone us-central1-c --tunnel-through-iap shell: bash - name: Make executable uses: google-github-actions/ssh-compute@v0 with: - zone: 'us-central1-a' + zone: 'us-central1-c' project_id: ${{ inputs.project-id }} ssh_private_key: ${{ inputs.ssh-key }} instance_name: aquascope @@ -35,9 +35,9 @@ runs: - name: Execute script uses: google-github-actions/ssh-compute@v0 with: - zone: 'us-central1-a' + zone: 'us-central1-c' project_id: ${{ inputs.project-id }} ssh_private_key: ${{ inputs.ssh-key }} instance_name: aquascope user: gh-actions - command: /home/gh-actions/${{ inputs.file }} + command: "~/${{ inputs.file }}" \ No newline at end of file