mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-15 17:17:02 +02:00
Update daily-csv-upload.yaml
This commit is contained in:
parent
20122727f7
commit
6a10b8096d
1 changed files with 11 additions and 7 deletions
18
.github/workflows/daily-csv-upload.yaml
vendored
18
.github/workflows/daily-csv-upload.yaml
vendored
|
@ -59,17 +59,21 @@ jobs:
|
||||||
|
|
||||||
upload-reports:
|
upload-reports:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [variables, wait-for-deploy]
|
needs: [variables]
|
||||||
env:
|
env:
|
||||||
CF_USERNAME: CF_{{ needs.variables.outputs.environment }}_USERNAME
|
CF_USERNAME: CF_{{ needs.variables.outputs.environment }}_USERNAME
|
||||||
CF_PASSWORD: CF_{{ needs.variables.outputs.environment }}_PASSWORD
|
CF_PASSWORD: CF_{{ needs.variables.outputs.environment }}_PASSWORD
|
||||||
steps:
|
steps:
|
||||||
- name: Print names of all secrets
|
- name: Check secrets
|
||||||
run: echo ${{ toJson(secrets) }}
|
run: |
|
||||||
- name: Print cf_username
|
if [[ -z "${{ secrets.CF_ZA_USERNAME }}" ]]; then
|
||||||
run: echo ${{ env.CF_USERNAME }}
|
echo "CF_ZA_USERNAME is not set"
|
||||||
- name: Print cf_password
|
exit 1
|
||||||
run: echo ${{ env.CF_PASSWORD }}
|
fi
|
||||||
|
if [[ -z "${{ secrets.CF_ZA_PASSWORD }}" ]]; then
|
||||||
|
echo "CF_ZA_PASSWORD is not set"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
- name: Generate current-federal.csv
|
- name: Generate current-federal.csv
|
||||||
uses: cloud-gov/cg-cli-tools@main
|
uses: cloud-gov/cg-cli-tools@main
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue