Skip to content

Commit

Permalink
Move host key check
Browse files Browse the repository at this point in the history
  • Loading branch information
nickclyde committed Sep 4, 2024
1 parent f5c0ae5 commit b6b8e88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ jobs:
env:
AZURE_VM_IP: ${{ secrets.AZURE_VM_IP }}
run: |
ssh azureuser@${AZURE_VM_IP} "sudo systemctl stop phinvads-go"
scp -o StrictHostKeyChecking=accept-new ./phinvads-go azureuser@${AZURE_VM_IP}:/home/azureuser/phinvads-go
ssh -o StrictHostKeyChecking=accept-new azureuser@${AZURE_VM_IP} "sudo systemctl stop phinvads-go"
scp ./phinvads-go azureuser@${AZURE_VM_IP}:/home/azureuser/phinvads-go
scp ./remote/production/phinvads-go.service azureuser@${AZURE_VM_IP}:/home/azureuser/phinvads-go.service
ssh azureuser@${AZURE_VM_IP} "sudo mv phinvads-go.service /etc/systemd/system/phinvads-go.service && sudo systemctl enable phinvads-go && sudo systemctl restart phinvads-go"
Expand Down

0 comments on commit b6b8e88

Please sign in to comment.