Update daily-csv-upload.yaml

This commit is contained in:
zandercymatics 2023-11-24 13:09:51 -07:00
parent 5be0b6b96b
commit 00f66e568d
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -39,8 +39,8 @@ 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 : 'za';
core.setOutput('environment', 'ZA'); core.setOutput('environment', environment);
wait-for-deploy: wait-for-deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -61,8 +61,8 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [variables, wait-for-deploy] needs: [variables, wait-for-deploy]
env: env:
CF_USERNAME: CF_{{ needs.variables.outputs.environment }}_USERNAME CF_USERNAME: CF_ZA_USERNAME
CF_PASSWORD: CF_{{ needs.variables.outputs.environment }}_PASSWORD CF_PASSWORD: CF_ZA_PASSWORD
steps: steps:
- name: Generate current-federal.csv - name: Generate current-federal.csv