chore(central) : aligne la doc prod et l auto-tag
Some checks failed
Auto Tag Develop / tag (push) Failing after 4s

This commit is contained in:
2026-04-03 11:41:46 +02:00
parent 30038255da
commit 9529f4cf63
2 changed files with 6 additions and 5 deletions

View File

@@ -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

View File

@@ -112,15 +112,15 @@ APP_SECRET=<generer avec: openssl rand -hex 32>
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=<generer avec: openssl rand -hex 32>
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