Update daily-csv-upload.yaml

This commit is contained in:
zandercymatics 2023-12-05 11:47:01 -07:00
parent 3424121a33
commit 28b966402c
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -19,8 +19,6 @@ on:
jobs:
variables:
env:
report_environment: CF_REPORT_ENV
outputs:
environment: ${{ steps.var.outputs.environment}}
runs-on: "ubuntu-latest"
@ -30,7 +28,7 @@ jobs:
id: var
with:
script: |
const environment = (github && github.event && github.event.inputs) ? github.event.inputs.environment : ${{ secrets[env.report_environment] }};
const environment = (github && github.event && github.event.inputs) ? github.event.inputs.environment : ${{ secrets[CF_REPORT_ENV] }};
core.setOutput('environment', environment);
upload-reports: