diff --git a/.github/workflows/deploy-to-ec2.yml b/.github/workflows/deploy-to-ec2.yml index 25e0151..6c39fc7 100644 --- a/.github/workflows/deploy-to-ec2.yml +++ b/.github/workflows/deploy-to-ec2.yml @@ -82,6 +82,7 @@ jobs: docker stop my-container || true docker rm my-container || true docker run -d --name my-container -p 80:5000 ${{ secrets.DOCKER_HUB_USERNAME }}/flask-app-image-repository:latest + EOF - name: Retrieve Autoscaling EC2 server ips @@ -117,6 +118,7 @@ jobs: docker stop my-container || true docker rm my-container || true docker run -d --name my-container -p 80:5000 ${{ secrets.DOCKER_HUB_USERNAME }}/flask-app-image-repository:latest - EOF + done + EOF