Reversión con Indentación y <<- para Cat
All checks were successful
Optimized Build and Deploy / remote-build-and-deploy (push) Successful in 2m43s
All checks were successful
Optimized Build and Deploy / remote-build-and-deploy (push) Successful in 2m43s
This commit is contained in:
@@ -63,9 +63,9 @@ jobs:
|
||||
echo "Creando archivo de entorno .env ..."
|
||||
# Usamos cat y un "here document" (<<ENV_FILE) para escribir el contenido.
|
||||
# Gitea reemplazará el secreto aquí.
|
||||
cat <<ENV_FILE > .env
|
||||
cat <<-ENV_FILE > .env
|
||||
JWT_KEY=${{ secrets.JWT_KEY_SECRET }}
|
||||
ENV_FILE
|
||||
ENV_FILE
|
||||
|
||||
echo "Recreando servicios..."
|
||||
docker compose up -d --force-recreate
|
||||
|
||||
Reference in New Issue
Block a user