diff --git a/.github/workflows/test-prod.yml b/.github/workflows/test-prod.yml index a7f40b6b..548b4af5 100644 --- a/.github/workflows/test-prod.yml +++ b/.github/workflows/test-prod.yml @@ -25,7 +25,7 @@ jobs: - name: Test with coverage (prod - just checking it will works, no env missing etc) run: go test -parallel 20 -timeout 30m -coverprofile=coverage.txt -coverpkg=./... ./... env: - SPACELIFT_API_KEY_ENDPOINT: ${{ secrets.V20240227_PROD_SPACELIFT_API_KEY_ENDPOINT }} + SPACELIFT_API_KEY_ENDPOINT: ${{ vars.SPACELIFT_API_KEY_ENDPOINT }} SPACELIFT_API_KEY_ID: ${{ secrets.V20240227_PROD_SPACELIFT_API_KEY_ID }} SPACELIFT_API_KEY_SECRET: ${{ secrets.V20240227_PROD_SPACELIFT_API_KEY_SECRET }} SPACELIFT_PROVIDER_TEST_IPS: ${{ secrets.V20240227_PROD_SPACELIFT_PROVIDER_TEST_IPS }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 666ec766..24c6e43c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -27,7 +27,7 @@ jobs: - name: Test with coverage run: go test -parallel 20 -timeout 30m -coverprofile=coverage.txt -coverpkg=./... ./... env: - SPACELIFT_API_KEY_ENDPOINT: ${{ secrets.PREPROD_SPACELIFT_API_KEY_ENDPOINT }} + SPACELIFT_API_KEY_ENDPOINT: ${{ vars.SPACELIFT_API_KEY_ENDPOINT }} SPACELIFT_API_KEY_ID: ${{ secrets.PREPROD_SPACELIFT_API_KEY_ID }} SPACELIFT_API_KEY_SECRET: ${{ secrets.PREPROD_SPACELIFT_API_KEY_SECRET }} SPACELIFT_PROVIDER_TEST_IPS: ${{ secrets.PREPROD_SPACELIFT_PROVIDER_TEST_IPS }}