From 69c29a6cd86be74739c381415f6fb3eb32d75c5d Mon Sep 17 00:00:00 2001 From: Thomas Heartman Date: Wed, 2 Mar 2022 12:30:12 +0100 Subject: [PATCH] chore: new doc env vars to doc workflows --- .github/workflows/build_doc_prs.yaml | 4 ++++ .github/workflows/generate-docs.yaml | 3 +++ 2 files changed, 7 insertions(+) diff --git a/.github/workflows/build_doc_prs.yaml b/.github/workflows/build_doc_prs.yaml index 88a3ac5fa1..bbe84c159e 100644 --- a/.github/workflows/build_doc_prs.yaml +++ b/.github/workflows/build_doc_prs.yaml @@ -12,6 +12,10 @@ jobs: steps: - uses: actions/checkout@v2 - name: Build docs + env: + UNLEASH_FEEDBACK_TARGET_URL: ${{ secrets.DOCS_FEEDBACK_TARGET_URL }} + UNLEASH_PROXY_CLIENT_KEY: ${{ secrets.UNLEASH_PROXY_CLIENT_KEY_DEVELOPMENT }} + UNLEASH_PROXY_URL: ${{ secrets.UNLEASH_PROXY_URL_DEVELOPMENT }} run: | # Build the site cd website && yarn && yarn build diff --git a/.github/workflows/generate-docs.yaml b/.github/workflows/generate-docs.yaml index 0bba02af07..941b9430ef 100644 --- a/.github/workflows/generate-docs.yaml +++ b/.github/workflows/generate-docs.yaml @@ -25,3 +25,6 @@ jobs: GH_EMAIL: 'ivarconr@gmail.com' GH_TOKEN: ${{ secrets.GH_TOKEN }} DEPLOYMENT_BRANCH: 'main' + UNLEASH_FEEDBACK_TARGET_URL: ${{ secrets.DOCS_FEEDBACK_TARGET_URL }} + UNLEASH_PROXY_CLIENT_KEY: ${{ secrets.UNLEASH_PROXY_CLIENT_KEY_PRODUCTION }} + UNLEASH_PROXY_URL: ${{ secrets.UNLEASH_PROXY_URL_PRODUCTION }}