Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Gupta-Shashwat authored Aug 6, 2024
1 parent f8b8f01 commit e230bc9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
mkdir -p ~/.ssh
echo "${{ secrets.PHINCHAKDOOJA_SSH_PRIVATE_KEY }}" > ~/.ssh/${{ github.sha }}
chmod 600 ~/.ssh/${{ github.sha }}
ssh-keyscan ${{ secrets.VM_IP_ADDRESS }} >> ~/.ssh/known_hosts
- name: "Execute deployment script via SSH"
run: ssh -i ~/.ssh/${{ github.sha }} ${{ secrets.VM_ROOT_USER }}@${{ secrets.VM_IP_ADDRESS}} 'sudo -E bash /home/azureuser/run-phinchakdooja.sh'

0 comments on commit e230bc9

Please sign in to comment.