fix: bootstrap identity tables for mariadb startup

This commit is contained in:
cesnimda
2026-03-22 23:58:15 +01:00
parent 691f263bc0
commit 6a722d3530
2 changed files with 101 additions and 2 deletions
+2 -2
View File
@@ -12,9 +12,9 @@ if [ ! -f "$ENV_SOURCE" ]; then
fi
# Keep runtime secrets outside the repo checkout so workflow uploads cannot wipe them.
ln -sf "$ENV_SOURCE" "$ENV_TARGET"
ln -snf "$ENV_SOURCE" "$ENV_TARGET"
if [ ! -f "$ENV_TARGET" ]; then
if [ ! -L "$ENV_TARGET" ] && [ ! -f "$ENV_TARGET" ]; then
echo "Failed to link deployment env file into $(pwd)/$ENV_TARGET"
exit 1
fi