Skip to content

Commit

Permalink
aws
Browse files Browse the repository at this point in the history
  • Loading branch information
Zafei-Erin committed Feb 21, 2024
1 parent 192a5d9 commit 2d963d9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
with:
labels: "prod: backend"

- name: Deploy to EC2 instance
runs-on: aws-nft
run: sudo docker-compose stop
run: sudo docker-compose rm -f
run: sudo docker-compose pull
run: sudo docker-compose up -d
run: sudo docker image prune -af
# - name: Deploy to EC2 instance
# runs-on: aws-nft
# run: sudo docker-compose stop
# run: sudo docker-compose rm -f
# run: sudo docker-compose pull
# run: sudo docker-compose up -d
# run: sudo docker image prune -af

0 comments on commit 2d963d9

Please sign in to comment.