fix: preserve production compose variables
Deploy olons-server production / deploy (push) Successful in 1m9s
Deploy olons-server production / deploy (push) Successful in 1m9s
This commit is contained in:
@@ -104,9 +104,12 @@ jobs:
|
|||||||
OLONS_IM_INTERNAL_SERVICE: ${OLONS_IM_INTERNAL_SERVICE}
|
OLONS_IM_INTERNAL_SERVICE: ${OLONS_IM_INTERNAL_SERVICE}
|
||||||
YAML
|
YAML
|
||||||
|
|
||||||
docker compose --env-file .env.olons-server -f "$base_file" -f compose.olons-server-secret.yaml pull olons-server
|
set -a
|
||||||
docker compose --env-file .env.olons-server -f "$base_file" -f compose.olons-server-secret.yaml up -d --no-deps --wait olons-server
|
. ./.env.olons-server
|
||||||
docker compose --env-file .env.olons-server -f "$base_file" -f compose.olons-server-secret.yaml exec -T olons-server sh -c '"'"'
|
set +a
|
||||||
|
docker compose -f "$base_file" -f compose.olons-server-secret.yaml pull olons-server
|
||||||
|
docker compose -f "$base_file" -f compose.olons-server-secret.yaml up -d --no-deps --wait olons-server
|
||||||
|
docker compose -f "$base_file" -f compose.olons-server-secret.yaml exec -T olons-server sh -c '"'"'
|
||||||
test -n "$OLONS_IM_INTERNAL_SECRET"
|
test -n "$OLONS_IM_INTERNAL_SECRET"
|
||||||
test "$OLONS_IM_BASE_URL" = "https://im-api.yuexuan.shop"
|
test "$OLONS_IM_BASE_URL" = "https://im-api.yuexuan.shop"
|
||||||
test "$OLONS_IM_HTTP_API_URL" = "https://im-api.yuexuan.shop/v1/im"
|
test "$OLONS_IM_HTTP_API_URL" = "https://im-api.yuexuan.shop/v1/im"
|
||||||
|
|||||||
Reference in New Issue
Block a user