Skip to content

Commit 3b103c1

Browse files
committed
use ssh key docker deploy
1 parent d9a9cc8 commit 3b103c1

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/docker-deploy.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Docker Deploy
33
on:
44
push:
55
branches:
6-
- main
6+
- docker
77

88
jobs:
99
deploy:
@@ -14,7 +14,8 @@ jobs:
1414
with:
1515
host: ${{ secrets.VPS_HOST }}
1616
username: ${{ secrets.VPS_USER }}
17-
password: ${{ secrets.VPS_PASS }}
17+
key: ${{ secrets.VPS_KEY }}
18+
passphrase: ${{ secrets.VPS_PASSPHRASE }}
1819
script: |
1920
set -e
2021
cd livecodes

0 commit comments

Comments
 (0)