fix: allow service to read deployment password
Verify and deploy production / verify-and-deploy (push) Successful in 2m31s

This commit is contained in:
2026-10-05 10:34:03 +08:00
parent eda070d985
commit 81d73340d7
+2 -1
View File
@@ -81,7 +81,8 @@ jobs:
$SUDO ln -sfn "$RELEASE_DIR" "$APP_ROOT/current"
printf '%s' "$STUDIO_PASSWORD" | $SUDO tee /etc/rednote-tool-studio.password >/dev/null
$SUDO chmod 600 /etc/rednote-tool-studio.password
$SUDO chown root:"$SERVICE_USER" /etc/rednote-tool-studio.password
$SUDO chmod 640 /etc/rednote-tool-studio.password
cat > rednote-tool-studio.service <<EOF
[Unit]