Skip to content

Commit 9ed6e43

Browse files
authored
Update main.yml
1 parent e25cb7d commit 9ed6e43

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ jobs:
6666
needs: build-and-push-ecr-image
6767
runs-on: self-hosted
6868
steps:
69+
- name: Checkout Code
70+
uses: actions/checkout@v3
71+
6972
- name: Configure AWS credentials
7073
uses: aws-actions/configure-aws-credentials@v1
7174
with:
@@ -81,9 +84,9 @@ jobs:
8184
run: |
8285
docker pull ${{secrets.AWS_ECR_LOGIN_URI}}/${{ secrets.ECR_REPOSITORY_NAME }}:latest
8386
84-
- name: Stop and remove container if running
85-
run: |
86-
docker ps -q --filter "name=phisingurl" | grep -q . && docker stop phisingurl && docker rm -fv phisingurl
87+
# - name: Stop and remove container if running
88+
# run: |
89+
# docker ps -q --filter "name=phisingurl" | grep -q . && docker stop phisingurl && docker rm -fv phisingurl
8790

8891
- name: Run Docker Image to serve users
8992
run: |

0 commit comments

Comments
 (0)