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 86f6848 commit 1d8d992
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,7 @@ jobs:
SSH_HOST: ${{ secrets.SSH_HOST }}
run: |
which cloudflared
SSH_COMMAND="sshpass -p \"$SSH_PASSWORD\" ssh \
-o ProxyCommand=\"$(which cloudflared) access ssh --hostname %h\" \
sshpass -p "$SSH_PASSWORD" ssh \
-o 'ProxyCommand=/usr/local/bin/cloudflared access ssh --hostname %h' \
-o StrictHostKeyChecking=no \
\"$SSH_USERNAME@$SSH_HOST\""
$SSH_COMMAND 'bash ~/Documents/cosmere-feed-bsky/restart_script.sh'
"$SSH_USERNAME@$SSH_HOST" 'bash ~/Documents/cosmere-feed-bsky/restart_script.sh'

0 comments on commit 1d8d992

Please sign in to comment.