Skip to content

Commit

Permalink
Update ec2-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Alputer authored Jan 26, 2024
1 parent bd1ce75 commit 4c5fac0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ec2-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ jobs:
EXCLUDE: "prod.env, dev.env"
SCRIPT_AFTER: |
cd ${{ secrets.TARGET_DIR }}
sudo docker-compose up -d --build app-prod
sudo docker-compose build --no-cache app-prod
sudo docker-compose up -d app-prod
sudo docker system prune -af

0 comments on commit 4c5fac0

Please sign in to comment.