From 43a9795e7fb7d0376b77d06bf827a922745ab32e Mon Sep 17 00:00:00 2001 From: Hamza Khalid Date: Fri, 6 Dec 2024 17:52:27 +0500 Subject: [PATCH] Testing EC2 Deployment --- .github/workflows/ec2-deployment.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ec2-deployment.yml b/.github/workflows/ec2-deployment.yml index 2ece067a..2742cd5f 100644 --- a/.github/workflows/ec2-deployment.yml +++ b/.github/workflows/ec2-deployment.yml @@ -57,7 +57,6 @@ jobs: - name: Deploy to EC2 uses: appleboy/ssh-action@v1.2.0 - if: github.ref == 'refs/heads/main' with: host: ${{ secrets.EC2_HOST }} username: ${{ secrets.EC2_USERNAME }} @@ -70,7 +69,7 @@ jobs: cd /home/ec2-user/enclave # Pull the latest changes - git pull origin main + git pull # Deploy the stack docker stack deploy -c docker-compose.yml ciphernode-stack