Skip to content

Commit

Permalink
Fix zone in pre-release
Browse files Browse the repository at this point in the history
  • Loading branch information
willcrichton committed Aug 30, 2024
1 parent 49444fb commit 7323eb5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/run-on-remote/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}"

0 comments on commit 7323eb5

Please sign in to comment.