Skip to content

Commit

Permalink
config(pipeline): update deploy dev flow
Browse files Browse the repository at this point in the history
  • Loading branch information
quytranDF committed Sep 8, 2024
1 parent b277d06 commit 8b7ad88
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
docker container stop map-sorter-api || true &&
docker container rm map-sorter-api || true &&
docker run --log-opt max-size=10m --log-opt max-file=3 --log-opt compress=true \
--name map-sorter-api -d --env-file .env $DOCKER_IMAGE:$DOCKER_TAG &&
--name map-sorter-api -dp 3000:3000 --env-file .env $DOCKER_IMAGE:$DOCKER_TAG &&
docker image prune --all -f
rm .env
'
Expand All @@ -101,11 +101,8 @@ workflows:
- equal: [deploy, << pipeline.parameters.task >>]
- equal: [dev, << pipeline.parameters.build_stage >>]
jobs:
- build
- deploy:
context: aws
requires:
- build
filters:
branches:
only: develop
Expand Down

0 comments on commit 8b7ad88

Please sign in to comment.