diff --git a/.github/workflows/ec2-deploy.yml b/.github/workflows/ec2-deploy.yml index 2d7ac81..be5ee8d 100644 --- a/.github/workflows/ec2-deploy.yml +++ b/.github/workflows/ec2-deploy.yml @@ -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