Skip to content

Commit

Permalink
Avoid clean-install to deploy with development env!
Browse files Browse the repository at this point in the history
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
  • Loading branch information
btlogy committed Feb 4, 2024
1 parent 035d55b commit ed50bba
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,11 @@ jobs:
CLIENT=0 || CLIENT=1
# Build image if client is missing
test $CLIENT -eq 0 || \
docker compose --progress plain -f docker-compose.yml -f docker-compose.e2e.yml --profile e2e \
build --build-arg uid=$(id -u) --build-arg gid=${_GID} client
docker compose --progress plain build --build-arg uid=$(id -u) --build-arg gid=${_GID} client
- name: Prepare containers
run: |
docker compose build --build-arg uid="$(id -u)" --build-arg gid="$(id -g)" client
docker compose run --no-deps -e CI=true client npm clean-install
docker compose run --rm --no-deps -e CI=true client npm install
- name: Deploy package
run: docker compose run --no-deps client npm run deploy
Expand Down

0 comments on commit ed50bba

Please sign in to comment.