We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0945c7 commit db4d5ceCopy full SHA for db4d5ce
.github/workflows/docker-backend.yml
@@ -45,13 +45,14 @@ jobs:
45
oauth-secret: $TS_OAUTH_SECRET
46
tags: tag:whispern-ci
47
48
+ - name: Save the SSH key
49
+ uses: webfactory/ssh-agent@v0.9.0
50
+ with:
51
+ ssh-private-key: ${{ secrets.SSH_KEY }}
52
+
53
- name: Execute SSH command on remote
54
run: |
- cat > key.pem <<EOF
- ${SSH_KEY}
- EOF
- chmod 600 key.pem
- ssh -i key.pem -o StrictHostKeyChecking=no nilsj@nilss-mac-mini.tailed622e.ts.net
55
+ ssh nilsj@nilss-mac-mini.tailed622e.ts.net
56
cd ~/Projects/iot-home/deployment/backend
57
gunzip -f iot-backend.tar.gz
58
docker load < iot-backend.tar
0 commit comments