mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-24 19:48:36 +02:00
Test default
This commit is contained in:
parent
20005b7140
commit
546a65ccee
1 changed files with 9 additions and 3 deletions
12
.github/workflows/daily-csv-upload.yaml
vendored
12
.github/workflows/daily-csv-upload.yaml
vendored
|
@ -8,7 +8,14 @@ on:
|
|||
- cron: "0 5 * * *"
|
||||
|
||||
jobs:
|
||||
default:
|
||||
outputs:
|
||||
default: CF_REPORT_ENV
|
||||
|
||||
variables:
|
||||
needs: [default]
|
||||
env:
|
||||
CF_DEFAULT: $ {{ needs.default.outputs.default }}
|
||||
outputs:
|
||||
environment: ${{ steps.var.outputs.environment}}
|
||||
runs-on: "ubuntu-latest"
|
||||
|
@ -18,9 +25,8 @@ jobs:
|
|||
id: var
|
||||
with:
|
||||
script: |
|
||||
const default = "CF_REPORT_ENV"
|
||||
const environment = ${{ secrets[default] }};
|
||||
core.setOutput('environment', environment);
|
||||
const environment = ${{ secrets[env.CF_DEFAULT] }};
|
||||
core.setOutput("environment", environment);
|
||||
|
||||
upload-reports:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue