From 26551b0d750bf4f73be6d7a085efff69b442e51a Mon Sep 17 00:00:00 2001 From: Martin Raifer Date: Wed, 12 Feb 2025 21:31:28 +0100 Subject: [PATCH] use secrets from gh "workflows" environment --- .github/workflows/staging.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/staging.yml b/.github/workflows/staging.yml index 2cc2f15ee..08b279b19 100644 --- a/.github/workflows/staging.yml +++ b/.github/workflows/staging.yml @@ -10,6 +10,7 @@ permissions: jobs: checksecret: name: check if deploy secret is present + environment: workflows runs-on: ubuntu-latest outputs: deploy_secret_present: ${{ steps.checksecret_job.outputs.deploy_secret_present }} @@ -25,6 +26,7 @@ jobs: needs: [checksecret] if: needs.checksecret.outputs.deploy_secret_present == 'true' runs-on: ubuntu-latest + environment: workflows steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4