ci: auto-heal session pass-cli avant make env
All checks were successful
Deploy info-canicule / deploy (push) Successful in 24s
All checks were successful
Deploy info-canicule / deploy (push) Successful in 24s
Appelle /opt/infra/scripts/ensure-pass-session.sh (auto-recovery via recovery PAT) avant make env → plus de deploy cassé par « session invalidated ». Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
c170bbca7d
commit
93092b1f56
1 changed files with 3 additions and 0 deletions
|
|
@ -23,6 +23,9 @@ jobs:
|
||||||
cd /opt/projects/info-canicule
|
cd /opt/projects/info-canicule
|
||||||
git fetch --prune origin main
|
git fetch --prune origin main
|
||||||
git reset --hard origin/main
|
git reset --hard origin/main
|
||||||
|
# Auto-répare la session pass-cli expirée avant de rendre le .env,
|
||||||
|
# sinon « Your session has been invalidated » (cf. infra scripts/ensure-pass-session.sh).
|
||||||
|
[ -x /opt/infra/scripts/ensure-pass-session.sh ] && /opt/infra/scripts/ensure-pass-session.sh || true
|
||||||
make env
|
make env
|
||||||
docker compose up -d --build --wait
|
docker compose up -d --build --wait
|
||||||
docker image prune -f
|
docker image prune -f
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue