diff --git a/.github/workflows/deployment.yaml b/.github/workflows/deployment.yaml index ab04d44..5cce8a7 100644 --- a/.github/workflows/deployment.yaml +++ b/.github/workflows/deployment.yaml @@ -50,17 +50,12 @@ jobs: AZURE_VM_IP: ${{ secrets.AZURE_VM_IP }} AZURE_VM_SSH_KEY: ${{ secrets.AZURE_VM_SSH_KEY }} run: | - echo 1 install -m 600 -D /dev/null ~/.ssh/phinvads-go - echo 2 echo "${{ secrets.AZURE_VM_SSH_KEY }}" > ~/.ssh/phinvads-go - echo 3 - ssh-keyscan -H $AZURE_VM_IP >> ~/.ssh/known_hosts - echo 4 go install github.com/a-h/templ/cmd/templ@latest templ generate go build -o phinvads-go ./cmd/phinvads-go - scp -i ~/.ssh/phinvads-go ./phinvads-go azureuser@${AZURE_VM_IP}:/home/azureuser/phinvads-go + scp -i ~/.ssh/phinvads-go -o StrictHostKeyChecking=no ./phinvads-go azureuser@${AZURE_VM_IP}:/home/azureuser/phinvads-go - name: Disallow GitHub Runner IP run: |