mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-21 20:09: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
17
.github/workflows/daily-csv-upload.yaml
vendored
17
.github/workflows/daily-csv-upload.yaml
vendored
|
@ -11,24 +11,15 @@ on:
|
|||
- stable
|
||||
- staging
|
||||
- development
|
||||
- ky
|
||||
- es
|
||||
- nl
|
||||
- rh
|
||||
- za
|
||||
- gd
|
||||
- rb
|
||||
- ko
|
||||
- ab
|
||||
- bl
|
||||
- rjm
|
||||
- dk
|
||||
schedule:
|
||||
# Runs every day at 5 AM UTC.
|
||||
- cron: "0 5 * * *"
|
||||
|
||||
jobs:
|
||||
variables:
|
||||
variables:
|
||||
env:
|
||||
report_environment: CF_REPORT_ENV
|
||||
outputs:
|
||||
environment: ${{ steps.var.outputs.environment}}
|
||||
runs-on: "ubuntu-latest"
|
||||
|
@ -38,7 +29,7 @@ jobs:
|
|||
id: var
|
||||
with:
|
||||
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);
|
||||
|
||||
upload-reports:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue