From 0a7014d46aca77eafab15c50c823e7e5388b2b50 Mon Sep 17 00:00:00 2001 From: evanpelle Date: Mon, 30 Mar 2026 21:24:07 -0700 Subject: [PATCH] fix: ensure the API_KEY is set in the deploy before use --- .github/workflows/deploy.yml | 2 ++ .github/workflows/release.yml | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 23da68c0b..48cccab59 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -127,6 +127,8 @@ jobs: echo "Deployment created in ${SECONDS} seconds" >> $GITHUB_STEP_SUMMARY echo "::endgroup::" - name: ⏳ Wait for deployment to start + env: + API_KEY: ${{ secrets.API_KEY }} run: | echo "::group::Wait for deployment to start" set -euxo pipefail diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index eec240067..10cd2f4e6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -82,6 +82,7 @@ jobs: - name: ⏳ Wait for deployment to start env: FQDN: alpha.${{ vars.DOMAIN }} + API_KEY: ${{ secrets.API_KEY }} run: | echo "::group::Wait for deployment to start" set -euxo pipefail @@ -133,6 +134,7 @@ jobs: - name: ⏳ Wait for deployment to start env: FQDN: beta.${{ vars.DOMAIN }} + API_KEY: ${{ secrets.API_KEY }} run: | echo "::group::Wait for deployment to start" set -euxo pipefail @@ -184,6 +186,7 @@ jobs: - name: ⏳ Wait for deployment to start env: FQDN: blue.${{ vars.DOMAIN }} + API_KEY: ${{ secrets.API_KEY }} run: | echo "::group::Wait for deployment to start" set -euxo pipefail @@ -235,6 +238,7 @@ jobs: - name: ⏳ Wait for deployment to start env: FQDN: green.${{ vars.DOMAIN }} + API_KEY: ${{ secrets.API_KEY }} run: | echo "::group::Wait for deployment to start" set -euxo pipefail