From 3da65ada71e2d7e2ca1b208e0b407a887876044e Mon Sep 17 00:00:00 2001 From: = <=> Date: Fri, 23 Feb 2024 11:05:04 +0530 Subject: [PATCH] update yml file --- .github/workflows/deploy.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 4a37a40..721a757 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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