We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9110c2b + 000cac2 commit bdf8f63Copy full SHA for bdf8f63
1 file changed
.github/workflows/deploy.yml
@@ -21,7 +21,14 @@ jobs:
21
uses: google-github-actions/setup-gcloud@v2
22
with:
23
project_id: ethereal-effort-397820
24
-
+ - name: Set up SSH keys
25
+ run: |
26
+ mkdir -p ~/.ssh
27
+ echo "${{ secrets.GCP_SSH_PRIVATE_KEY }}" > ~/.ssh/google_compute_engine
28
+ echo "${{ secrets.GCP_SSH_PUBLIC_KEY }}" > ~/.ssh/google_compute_engine.pub
29
+ chmod 600 ~/.ssh/google_compute_engine
30
+ chmod 644 ~/.ssh/google_compute_engine.pub
31
+
32
- name: Deploy to VM
33
run: |
34
gcloud compute ssh tjctgrader@autograder2 \
0 commit comments