Skip to content

Commit

Permalink
Merge pull request #1589 from bakaphp/development
Browse files Browse the repository at this point in the history
Release ec2 deploy
  • Loading branch information
rwhite27 authored Jun 30, 2024
2 parents 58f4744 + 7428782 commit 7a66fc4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ec2-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ jobs:
script: |
cd ${{secrets.AWS_EC2_TARGET_DIR}}
docker compose -f docker-compose.${{ github.ref_name }}.yml up -d
if ["docker-compose.${{ github.ref_name }}.yml" == "docker-compose.1.x.yml"]; then
docker exec -i phpkanvas-ecosystem composer install --no-dev --optimize-autoloader;
else
docker exec -i phpkanvas-ecosystem composer install --optimize-autoloader;
fi
docker exec -i phpkanvas-ecosystem php artisan lighthouse:cache
docker exec -i phpkanvas-ecosystem php artisan config:cache
docker restart queue
Expand Down

0 comments on commit 7a66fc4

Please sign in to comment.