We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b7999e0 + c4041e3 commit 919f687Copy full SHA for 919f687
1 file changed
.github/workflows/deploy-action.yml
@@ -33,5 +33,5 @@ jobs:
33
mkdir -p ~/.ssh
34
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
35
chmod 600 ~/.ssh/id_rsa
36
- ssh-keyscan 51.254.117.6 >> ~/.ssh/known_hosts
37
- ssh -i ~/.ssh/id_rsa debian@51.254.117.6 "cd /home/debian/sentimental_analyses && git pull origin main && docker compose up -d"
+ ssh-keyscan ${{ secrets.USER }} >> ~/.ssh/known_hosts
+ ssh -i ~/.ssh/id_rsa ${{ secrets.USER }}@${{ secrets.HOST }} "cd /home/debian/sentimental_analyses && git pull origin main && docker compose up -d"
0 commit comments