diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 70ddba8..3c425f4 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -104,9 +104,12 @@ jobs: OLONS_IM_INTERNAL_SERVICE: ${OLONS_IM_INTERNAL_SERVICE} YAML - docker compose --env-file .env.olons-server -f "$base_file" -f compose.olons-server-secret.yaml pull olons-server - docker compose --env-file .env.olons-server -f "$base_file" -f compose.olons-server-secret.yaml up -d --no-deps --wait 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 + . ./.env.olons-server + 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 "$OLONS_IM_BASE_URL" = "https://im-api.yuexuan.shop" test "$OLONS_IM_HTTP_API_URL" = "https://im-api.yuexuan.shop/v1/im"