Skip to content

Commit ffb317c

Browse files
authored
Merge pull request #20 from MusfiqDehan/dev
Add passkey requirement for SSH
2 parents ccca843 + 7c396b7 commit ffb317c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,12 @@ jobs:
5858
host: ${{ secrets.SERVER_IP }}
5959
username: ${{ secrets.SERVER_USER }}
6060
key: ${{ secrets.SSH_PRIVATE_KEY }}
61+
passphrase: ${{ secrets.SSH_PASSPHRASE }}
6162
script: |
6263
cd /srv/apps/lms.musfiqdehan.com
64+
65+
# Checkout to main branch
66+
git checkout -f main
6367
6468
# Pull latest code
6569
git pull origin main

0 commit comments

Comments
 (0)