From dc1b1a6bdd8b20ebbcb35d7dbcaac9f2d54fc98a Mon Sep 17 00:00:00 2001 From: Siddhartha Basu Date: Tue, 2 Jul 2024 16:59:55 -0500 Subject: [PATCH] feat(test_deploy.yaml): inherit secrets in deploy jobs and use vars for cluster config --- .github/workflows/test_deploy.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_deploy.yaml b/.github/workflows/test_deploy.yaml index 2a39b6f..8cdcde9 100644 --- a/.github/workflows/test_deploy.yaml +++ b/.github/workflows/test_deploy.yaml @@ -8,8 +8,10 @@ on: jobs: deploy-setup: uses: ./.github/workflows/deploy-setup.yaml + secrets: inherit with: - cluster: ${{ secrets.DEV_STAGING_CLUSTER }} - cluster_state_storage: ${{ secrets.DEV_STAGING_KOPS_STATE_STORAGE }} + cluster: ${{ vars.DEV_STAGING_CLUSTER }} + cluster_state_storage: ${{ vars.DEV_STAGING_KOPS_STATE_STORAGE }} deploy-backend: + secrets: inherit uses: ./.github/workflows/deploy-backend.yaml