Skip to content

Commit

Permalink
ip updating
Browse files Browse the repository at this point in the history
  • Loading branch information
VijayBattu1 authored Nov 23, 2023
1 parent 649a622 commit 0814f8e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@ jobs:
- name: Copy Tar Archive to Ubuntu Server
uses: appleboy/ssh-action@v1.0.0
with:
host: ${{ secrets.HOST_DNS }}
host: ${{ secrets.IP }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.EC2_SSH_KEY }}
script: |
scp -o StrictHostKeyChecking=no deploy.tar.gz ${{ secrets.USERNAME }}@${{ secrets.HOST_DNS }}:/home
scp -o StrictHostKeyChecking=no deploy.tar.gz ${{ secrets.USERNAME }}@${{ secrets.IP }}:/home
- name: Extract Tar Archive on Ubuntu Server
uses: appleboy/ssh-action@v1.0.0
with:
host: ${{ secrets.HOST_DNS }}
host: ${{ secrets.IP }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.EC2_SSH_KEY }}
script: |
Expand Down

0 comments on commit 0814f8e

Please sign in to comment.