mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-01 23:42:17 +02:00
Update daily-csv-upload.yaml
This commit is contained in:
parent
89f45ef2fb
commit
5c3766cb06
1 changed files with 1 additions and 11 deletions
12
.github/workflows/daily-csv-upload.yaml
vendored
12
.github/workflows/daily-csv-upload.yaml
vendored
|
@ -39,7 +39,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 : 'ZA';
|
||||
core.setOutput('environment', environment);
|
||||
|
||||
wait-for-deploy:
|
||||
|
@ -64,16 +64,6 @@ jobs:
|
|||
CF_USERNAME: CF_{{ needs.variables.outputs.environment }}_USERNAME
|
||||
CF_PASSWORD: CF_{{ needs.variables.outputs.environment }}_PASSWORD
|
||||
steps:
|
||||
- name: Check secrets
|
||||
run: |
|
||||
if [[ -z "${{ secrets.CF_ZA_USERNAME }}" ]]; then
|
||||
echo "CF_ZA_USERNAME is not set"
|
||||
exit 1
|
||||
fi
|
||||
if [[ -z "${{ secrets.CF_ZA_PASSWORD }}" ]]; then
|
||||
echo "CF_ZA_PASSWORD is not set"
|
||||
exit 1
|
||||
fi
|
||||
- name: Generate current-federal.csv
|
||||
uses: cloud-gov/cg-cli-tools@main
|
||||
with:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue