mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-23 11:16:07 +02:00
Test env var
This commit is contained in:
parent
3b10a6b023
commit
1c52e73fe4
1 changed files with 3 additions and 1 deletions
4
.github/workflows/daily-csv-upload.yaml
vendored
4
.github/workflows/daily-csv-upload.yaml
vendored
|
@ -19,6 +19,8 @@ on:
|
|||
|
||||
jobs:
|
||||
variables:
|
||||
env:
|
||||
DEFAULT_ENV: CF_REPORT_ENV
|
||||
outputs:
|
||||
environment: ${{ steps.var.outputs.environment}}
|
||||
runs-on: "ubuntu-latest"
|
||||
|
@ -28,7 +30,7 @@ jobs:
|
|||
id: var
|
||||
with:
|
||||
script: |
|
||||
const environment = (github && github.event && github.event.inputs) ? github.event.inputs.environment : ${{ secrets["CF_REPORT_ENV"] }};
|
||||
const environment = (github && github.event && github.event.inputs) ? github.event.inputs.environment : ${{ secrets[env.DEFAULT_ENV]] }};
|
||||
core.setOutput('environment', environment);
|
||||
|
||||
upload-reports:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue