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