Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
richardr1126 authored Dec 18, 2024
1 parent 13d0538 commit 59fe1cf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ jobs:
SSH_HOST: ${{ secrets.SSH_HOST }}
run: |
# Create SSH command with ProxyCommand
SSH_COMMAND="sshpass -p $SSH_PASSWORD ssh -o ProxyCommand='cloudflared access ssh --hostname $SSH_HOST' -o StrictHostKeyChecking=no $SSH_USERNAME@$SSH_HOST"
# Create SSH command with properly quoted options
SSH_COMMAND=sshpass -p $SSH_PASSWORD ssh -o ProxyCommand=cloudflared access ssh --hostname $SSH_HOST -o StrictHostKeyChecking=no $SSH_USERNAME@$SSH_HOST
# Execute the remote script directly on the remote server
$SSH_COMMAND 'bash ~/Documents/cosmere-feed-bsky/restart_script.sh'


0 comments on commit 59fe1cf

Please sign in to comment.