Skip to content

Commit

Permalink
Update azure-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Vilonauzd authored Dec 12, 2024
1 parent d247e41 commit a67d90b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/azure-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ jobs:
echo "${{ secrets.AZURE_PRIVATE_KEY }}" > ~/.ssh/id_rsa
echo "${{ secrets.AZURE_PUBLIC_KEY }}" > ~/.ssh/id_rsa.pub
chmod 600 ~/.ssh/id_rsa
ssh-keyscan -H your_server_ip >> ~/.ssh/known_hosts
ssh-keyscan -H 13.84.184.169 >> ~/.ssh/known_hosts
- name: Deploy to Azure
run: |
ssh svc_mwc@your_server_ip << 'EOF'
ssh svc_mwc@13.84.184.169 << 'EOF'
cd /path/to/your/project
git pull origin main
./restart_script.sh
Expand Down

0 comments on commit a67d90b

Please sign in to comment.