Skip to content

Commit

Permalink
update yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Feb 23, 2024
1 parent 05a9766 commit 3da65ad
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ jobs:
- name: Send .next2 to EC2
uses: appleboy/scp-action@master
with:
host: ${{ secrets.EC2_HOST_OCI }}
host: ${{ secrets.EC2_HOST }}
username: ${{ secrets.EC2_USERNAME }}
key: ${{ secrets.EC2_PRIVATE_KEY_OCI }}
key: ${{ secrets.EC2_PRIVATE_KEY }}
source: .next2
target: oci-assam-frontend
- name: Update with new Build
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.EC2_HOST_OCI }}
host: ${{ secrets.EC2_HOST }}
username: ${{ secrets.EC2_USERNAME }}
key: ${{ secrets.EC2_PRIVATE_KEY_OCI }}
key: ${{ secrets.EC2_PRIVATE_KEY }}
script: rm -rf oci-assam-frontend/.next; mv oci-assam-frontend/.next2 oci-assam-frontend/.next; pm2 restart oci-assam-frontend

0 comments on commit 3da65ad

Please sign in to comment.