diff --git a/.gitea/workflows/auto-tag-develop.yml b/.gitea/workflows/auto-tag-develop.yml index fbf516a..48f28d5 100644 --- a/.gitea/workflows/auto-tag-develop.yml +++ b/.gitea/workflows/auto-tag-develop.yml @@ -21,6 +21,7 @@ jobs: run: | set -euo pipefail + # Skip if current commit already has a vX.Y.Z tag if git tag --points-at HEAD | grep -qE '^v[0-9]+\.[0-9]+\.[0-9]+$'; then echo "Tag already exists on this commit. Skipping." exit 0 @@ -51,7 +52,7 @@ jobs: version="${major}.${minor}.$((patch + 1))" fi - printf "parameters:\n app.version: '%s'\n" "$version" > config/version.yaml + printf "parameters:\\n app.version: '%s'\\n" "$version" > config/version.yaml git config user.name "gitea-actions" git config user.email "gitea-actions@local" git add config/version.yaml diff --git a/doc/deployment-docker.md b/doc/deployment-docker.md index a59750d..dc23c41 100644 --- a/doc/deployment-docker.md +++ b/doc/deployment-docker.md @@ -112,15 +112,15 @@ APP_SECRET= DATABASE_URL="postgresql://malio:motdepasse@host.docker.internal:5432/central_prod?serverVersion=16&charset=utf8" -DEFAULT_URI=https://central.malio-dev.fr +DEFAULT_URI=http://central.malio-dev.fr APP_SHARE_DIR=var/share -CORS_ALLOW_ORIGIN='^https?://central\.malio-dev\.fr$' +CORS_ALLOW_ORIGIN='^http://central\.malio-dev\.fr$' JWT_SECRET_KEY=%kernel.project_dir%/config/jwt/private.pem JWT_PUBLIC_KEY=%kernel.project_dir%/config/jwt/public.pem JWT_PASSPHRASE= -JWT_COOKIE_SECURE=1 +JWT_COOKIE_SECURE=0 JWT_TOKEN_TTL=86400 JWT_COOKIE_TTL=86400 @@ -212,7 +212,7 @@ cd /var/www/central ## Verification apres deploiement -1. Ouvrir `https://central.malio-dev.fr` +1. Ouvrir `http://central.malio-dev.fr` 2. Se connecter avec un compte admin 3. Verifier que la page Applications charge 4. Activer la maintenance sur SIRH