Skip to content

Commit

Permalink
Lets try netcat-traditional for the silly nc hack I use to deploy to …
Browse files Browse the repository at this point in the history
…Digital Ocean
  • Loading branch information
coreyja committed Jan 20, 2024
1 parent 87c3f23 commit f216313
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ jobs:
echo "export HTTPS_PROXY=http://localhost:1054/" >> $BASH_ENV
echo "export http_proxy=http://localhost:1054/" >> $BASH_ENV
echo "export https_proxy=http://localhost:1054/" >> $BASH_ENV
- run: apt update && apt-get install netcat -y
- run: apt update && apt-get install netcat-traditional -y
- run: scp -o "ProxyCommand nc -x localhost:1055 %h %p" -o StrictHostKeyChecking=no target/release/web-axum [email protected]:~/server/web-axum.new
- run: ssh -o "ProxyCommand nc -x localhost:1055 %h %p" [email protected] "mv server/web-axum.new server/web-axum"
- run: ssh -o "ProxyCommand nc -x localhost:1055 %h %p" [email protected] "sudo systemctl restart terrarium.coreyja.com.service"
Expand Down

0 comments on commit f216313

Please sign in to comment.