mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-24 05:19:23 +02:00
Update daily-csv-upload.yaml
This commit is contained in:
parent
ee9fc789c7
commit
d0c793cfbe
1 changed files with 4 additions and 13 deletions
15
.github/workflows/daily-csv-upload.yaml
vendored
15
.github/workflows/daily-csv-upload.yaml
vendored
|
@ -11,24 +11,15 @@ on:
|
||||||
- stable
|
- stable
|
||||||
- staging
|
- staging
|
||||||
- development
|
- development
|
||||||
- ky
|
|
||||||
- es
|
|
||||||
- nl
|
|
||||||
- rh
|
|
||||||
- za
|
- za
|
||||||
- gd
|
|
||||||
- rb
|
|
||||||
- ko
|
|
||||||
- ab
|
|
||||||
- bl
|
|
||||||
- rjm
|
|
||||||
- dk
|
|
||||||
schedule:
|
schedule:
|
||||||
# Runs every day at 5 AM UTC.
|
# Runs every day at 5 AM UTC.
|
||||||
- cron: "0 5 * * *"
|
- cron: "0 5 * * *"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
variables:
|
variables:
|
||||||
|
env:
|
||||||
|
report_environment: CF_REPORT_ENV
|
||||||
outputs:
|
outputs:
|
||||||
environment: ${{ steps.var.outputs.environment}}
|
environment: ${{ steps.var.outputs.environment}}
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
|
@ -38,7 +29,7 @@ jobs:
|
||||||
id: var
|
id: var
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
const environment = (github && github.event && github.event.inputs) ? github.event.inputs.environment : "ZA";
|
const environment = (github && github.event && github.event.inputs) ? github.event.inputs.environment : ${{ secrets[env.report_environment] }};
|
||||||
core.setOutput('environment', environment);
|
core.setOutput('environment', environment);
|
||||||
|
|
||||||
upload-reports:
|
upload-reports:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue