Skip to content

Commit 2ccaf76

Browse files
committed
Update Workflow
1 parent b3451e8 commit 2ccaf76

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/docker-backend.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,12 @@ jobs:
4646
tags: tag:whispern-ci
4747

4848
- name: Execute SSH command on remote
49-
uses: appleboy/ssh-action@v1.0.0
49+
uses: cloudposse/github-action-ssh@2.1.0
5050
with:
51-
host: nilss-mac-mini
52-
username: nilsj
53-
key: $KEY
54-
port: 22
55-
script: |
51+
ssh-private-key: ${{ secrets.SSH_KEY }}
52+
ssh-host: nilss-mac-mini.tailed622e.ts.net
53+
ssh-user: ${{ secrets.SSH_NAME }}
54+
ssh-command: |
5655
cd ~/Projects/iot-home/deployment/backend
5756
gunzip -f iot-backend.tar.gz
5857
docker load < iot-backend.tar

0 commit comments

Comments
 (0)