Skip to content

Commit 2e8c151

Browse files
committed
Update Workflow
1 parent 57aefe3 commit 2e8c151

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/docker-backend.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,15 @@ jobs:
5858
echo " UserKnownHostsFile=/dev/null" >> ~/.ssh/config
5959
chmod 600 ~/.ssh/config
6060
61+
- name: Upload Docker image to remote
62+
uses: appleboy/scp-action@v0.1.6
63+
with:
64+
host: nilss-mac-mini.tailed622e.ts.net
65+
username: nilsj
66+
key: $KEY
67+
source: iot-backend.tar.gz
68+
target: /Users/nilsj/Projects/home-iot/deployment/backend/
69+
6170
- name: Execute SSH command on remote
6271
run: |
6372
ssh nilsj@nilss-mac-mini.tailed622e.ts.net "

0 commit comments

Comments
 (0)