Skip to content

Commit cdf1f7b

Browse files
committed
Add SSH passphrase to deploy workflow
1 parent a55f20e commit cdf1f7b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
host: ${{ secrets.DROPLET_IP }} # Your droplet IP address
1919
username: root # or your droplet username
2020
key: ${{ secrets.SSH_PRIVATE_KEY }} # Your SSH private key
21+
passphrase: ${{ secrets.SSH_PASSPHRASE }} # Your SSH passphrase
2122
port: 22 # or your SSH port if changed
2223
source: "." # Copies the whole repo, specify subdirectories or files if needed
2324
target: "/CodeByJose.com" # Target directory on your droplet

0 commit comments

Comments
 (0)