From 8bad5cbe6674111db40c622f622f9635e0e99603 Mon Sep 17 00:00:00 2001 From: martintrajanovski Date: Mon, 16 Dec 2024 14:59:45 +0100 Subject: [PATCH] add new environment variable variable description in github actions --- .github/workflows/release-and-publish-sdk.yml | 2 ++ .github/workflows/upload-sdk-artifact.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/release-and-publish-sdk.yml b/.github/workflows/release-and-publish-sdk.yml index 7e83ca9de..48d3e67b2 100644 --- a/.github/workflows/release-and-publish-sdk.yml +++ b/.github/workflows/release-and-publish-sdk.yml @@ -112,6 +112,8 @@ jobs: env: MONGODB_URI: "mongodb://localhost:27017/scicat" JWT_SECRET: thisIsTheJwtSecret + # It disables the content property on some of the endpoints as the sdk generator complains about it. + # We want to keep it when the app is running to improve the swagger documentation and usage. SDK_PACKAGE_SWAGGER_HELPERS_DISABLED: true run: | npm install -g wait-on && npm install diff --git a/.github/workflows/upload-sdk-artifact.yml b/.github/workflows/upload-sdk-artifact.yml index 685993dcf..3f3c5ed5c 100644 --- a/.github/workflows/upload-sdk-artifact.yml +++ b/.github/workflows/upload-sdk-artifact.yml @@ -33,6 +33,8 @@ jobs: env: MONGODB_URI: "mongodb://localhost:27017/scicat" JWT_SECRET: thisIsTheJwtSecret + # It disables the content property on some of the endpoints as the sdk generator complains about it. + # We want to keep it when the app is running to improve the swagger documentation and usage. SDK_PACKAGE_SWAGGER_HELPERS_DISABLED: true run: | npm install -g wait-on && npm install