Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
passphrase support
  • Loading branch information
TJ2005 authored Dec 24, 2024
1 parent 5010b41 commit 9bf17aa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ jobs:
host: ${{ secrets.SERVER_HOST }} # Your server's IP address or hostname
username: ${{ secrets.SSH_USER }} # SSH username for the server
key: ${{ secrets.SSH_KEY }} # SSH private key (added as GitHub secret)
passphrase: $${{ secrets.PASSPHRASE }} # PASSPHRASE
script: |
echo "SSH Connection Successful"
cd /notes/Obsidian-Notes-Public # Replace with your project directory on the server
git pull public public # Pull updates from 'public' branch on 'public' remote
cp -r /root/notes/Obsidian-Notes-Public/* /root/notes/quartz/content/
Expand Down

0 comments on commit 9bf17aa

Please sign in to comment.