Rend FORGE_URL configurable via variable d'environnement
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
12adf2996b
commit
687f0eba16
1 changed files with 2 additions and 1 deletions
|
|
@ -11,7 +11,8 @@
|
||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
FORGE_URL="https://forge.gwenaelremond.fr"
|
# URL de la forge : surchargeable via la variable d'environnement FORGE_URL
|
||||||
|
FORGE_URL="${FORGE_URL:-https://gitlab.cleanows.fr}"
|
||||||
|
|
||||||
# Token lu depuis la variable d'environnement (ne jamais l'écrire en dur)
|
# Token lu depuis la variable d'environnement (ne jamais l'écrire en dur)
|
||||||
if [[ -z "${FORGE_TOKEN:-}" ]]; then
|
if [[ -z "${FORGE_TOKEN:-}" ]]; then
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue