Skip to content

Commit 919f687

Browse files
committed
Merge branch 'develop'
2 parents b7999e0 + c4041e3 commit 919f687

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/deploy-action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ jobs:
3333
mkdir -p ~/.ssh
3434
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
3535
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"
36+
ssh-keyscan ${{ secrets.USER }} >> ~/.ssh/known_hosts
37+
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

Comments
 (0)