Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yubinquitous authored Mar 13, 2024
1 parent 391c1cb commit 797dcdd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ jobs:
needs: build
name: CD
runs-on: self-hosted
if: github.ref == 'refs/heads/deploy'
# if: github.ref == 'refs/heads/deploy'

steps:
- name: Stop and remove previous container
run: |
docker rm -f be || true
docker rm -f backend || true
# - name: Login to Amazon ECR
# id: login-ecr
Expand All @@ -58,4 +58,4 @@ jobs:

- name: Pull image from Amazon ECR and run container
run: |
docker run -d --name be be:latest
docker run -d --name backend backend:latest

0 comments on commit 797dcdd

Please sign in to comment.