diff --git a/.gitea/workflows/release-artefact.yml b/.gitea/workflows/release-artefact.yml index dc02acf..c0d6102 100644 --- a/.gitea/workflows/release-artefact.yml +++ b/.gitea/workflows/release-artefact.yml @@ -36,7 +36,7 @@ jobs: run: | cd frontend npm ci - CI=1 NUXT_TELEMETRY_DISABLED=1 NUXT_PUBLIC_API_BASE=/api NUXT_PUBLIC_APP_BASE=/ npm run generate + CI=1 NUXT_TELEMETRY_DISABLED=1 NUXT_PUBLIC_API_BASE=/api NUXT_PUBLIC_APP_BASE=/ NUXT_PUBLIC_GEO_API_BASE=https://geo.api.gouv.fr npm run generate test -f .output/public/index.html - name: Build artefact diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 9192270..78c4c30 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -4,11 +4,9 @@ - @@ -792,7 +789,8 @@ - diff --git a/scripts/deploy-release.sh b/scripts/deploy-release.sh index bc38aae..5933c94 100644 --- a/scripts/deploy-release.sh +++ b/scripts/deploy-release.sh @@ -75,9 +75,5 @@ chmod o+rx "$(dirname "$DEPLOY_DIR")" "$DEPLOY_DIR" 2>/dev/null || true echo "Release ${TAG} deployed to ${DEPLOY_DIR}" -if [ -f "${DEPLOY_DIR}/.env.local" ]; then - echo "Running migrations (if any)..." - php "${DEPLOY_DIR}/bin/console" doctrine:migrations:migrate --no-interaction --env=prod -else - echo "Skip migrations: ${DEPLOY_DIR}/.env.local not found" >&2 -fi +echo "Running migrations (if any)..." +php "${DEPLOY_DIR}/bin/console" doctrine:migrations:migrate --no-interaction --env=prod