Match reviewed Stage API prefix and readable public runtime entrypoint
Deploy Canina / deploy (push) Failing after 1m18s
Deploy Canina / deploy (push) Failing after 1m18s
This commit is contained in:
1 parent
8c435ab09e
commit
93d43fb261
3 files changed
+3
-2
No files matched your search
@@ -41,5 +41,5 @@ script=$(mktemp)
|
||||
trap 'rm -f "$script"' EXIT
|
||||
wget --no-proxy -qO "$script" "https://git.parsaaghayi.ir/parsa/canina/raw/commit/${1}/scripts/deploy.sh"
|
||||
# CI marker exists only across this authenticated, fixed Stage boundary.
|
||||
GITHUB_ACTIONS=true STAGE_PROVISION_ENABLED=false DEPLOY_SHA="$1" bash "$script" develop
|
||||
GITHUB_ACTIONS=true STAGE_PROVISION_ENABLED=true DEPLOY_SHA="$1" bash "$script" develop
|
||||
HOST
|
||||
@@ -75,6 +75,7 @@ PY
|
||||
}
|
||||
|
||||
stage_runtime_render() {
|
||||
chmod 644 "$TARGET_DIR/infra/hermes-runtime/serve.py"
|
||||
export STAGE_RUNTIME_SERVE_FILE="$TARGET_DIR/infra/hermes-runtime/serve.py"
|
||||
export STAGE_RUNTIME_SNAPSHOT
|
||||
STAGE_RUNTIME_SNAPSHOT=$(python3 -c 'import json;print(json.load(open(".stage-runtime.json"))["snapshot"])')
|
||||
|
||||
Reference in new issue
Block a user