Skip to content

Commit

Permalink
Install sample data from deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreGauthier committed Sep 27, 2024
1 parent 877d405 commit 6d13d4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy-int.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,6 @@ jobs:
docker compose run --rm php composer config repositories.gally-premium composer $PACKAGIST_URL &&
docker compose run --rm -e COMPOSER_AUTH='$COMPOSER_AUTH' php composer require \"gally/gally-standard:${{ env.composer_version }} as ${{ inputs.last_published_version }}\" &&
docker compose run --rm -e COMPOSER_AUTH='$COMPOSER_AUTH' php composer require \"gally/gally-premium:${{ env.composer_version }}\" &&
docker compose run --rm -e COMPOSER_AUTH='$COMPOSER_AUTH' php composer require \"gally/gally-sample-data:${{ env.composer_version }}\" &&
GALLY_CATALOG_MEDIA_URL=${MEDIA_URL} SERVER_NAME=$HOSTNAME API_ROUTE_PREFIX=api APP_SECRET=$APP_SECRET POSTGRES_PASSWORD=$POSTGRES_PASSWORD COMPOSER_AUTH='$COMPOSER_AUTH' docker compose -f compose.yml -f compose.int.yml up -d --build
"
3 changes: 1 addition & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,5 +156,4 @@ jobs:
fail_below_threshold: false

- name: "[End] Job failed, gathering logs"
if: ${{ failure() }}
run: ${{env.docker_compose_cmd}} logs
run: ${{env.docker_compose_cmd}} logs -t

0 comments on commit 6d13d4f

Please sign in to comment.