mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-25 20:18:38 +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 * * *"
|
- cron: "0 5 * * *"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
default:
|
||||||
|
outputs:
|
||||||
|
default: CF_REPORT_ENV
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
|
needs: [default]
|
||||||
|
env:
|
||||||
|
CF_DEFAULT: $ {{ needs.default.outputs.default }}
|
||||||
outputs:
|
outputs:
|
||||||
environment: ${{ steps.var.outputs.environment}}
|
environment: ${{ steps.var.outputs.environment}}
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
|
@ -18,9 +25,8 @@ jobs:
|
||||||
id: var
|
id: var
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
const default = "CF_REPORT_ENV"
|
const environment = ${{ secrets[env.CF_DEFAULT] }};
|
||||||
const environment = ${{ secrets[default] }};
|
core.setOutput("environment", environment);
|
||||||
core.setOutput('environment', environment);
|
|
||||||
|
|
||||||
upload-reports:
|
upload-reports:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue