Auto create data folder
Deploy Solar Relay / deploy (push) Successful in 45s

This commit is contained in:
franzz committed 2026-11-01 23:51:54 +01:00
1 parent 6520152282
commit 646ba3be81
3 files changed
+27 -15

No files matched your search

+5
View File
@@ -86,6 +86,11 @@ jobs:
fi
"$DEPLOY_PATH/.venv/bin/python" -c 'import sys; assert sys.version_info >= (3, 11)'
"$DEPLOY_PATH/.venv/bin/python" -m pip install --only-binary=pyarrow -r "$DEPLOY_PATH/requirements.txt"
# ReadWritePaths must exist before systemd sets up the service's mount namespace.
(
umask 0077
mkdir -p "$DEPLOY_PATH/data/archive"
)
sudo -n "$(command -v systemctl)" restart "$SERVICE"
# Catch an invalid config or missing token that triggers an immediate restart loop.
sleep 10