deploy-tomtervel: kron.env is one of the optional env files
The first deploy with the pay profile failed: compose wanted kron.env in the checkout and the host script only moves the files it knows. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
2 files changed
+8
-3
No files matched your search
+3
-2
@@ -18,8 +18,9 @@ set -euo pipefail
|
||||
root=/srv/tomtervel/infrastructure
|
||||
stage=/var/lib/gitea-runner/tomtervel-env
|
||||
files=(.env portal.env nats.env chat.env)
|
||||
# Written only when the site runs what needs it (Rauthy).
|
||||
optional=(rauthy.env)
|
||||
# Written only when the site runs what needs it (Rauthy, the money
|
||||
# service under the pay profile).
|
||||
optional=(rauthy.env kron.env)
|
||||
|
||||
[ -d "$root/.git" ] || { echo "no checkout at $root - bootstrap it first" >&2; exit 1; }
|
||||
for f in "${files[@]}"; do
|
||||
|
||||
Reference in new issue
Block a user