mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-21 10:16:13 +02:00
Update daily-csv-upload.yaml
This commit is contained in:
parent
95273284cc
commit
d14da1460f
1 changed files with 14 additions and 1 deletions
15
.github/workflows/daily-csv-upload.yaml
vendored
15
.github/workflows/daily-csv-upload.yaml
vendored
|
@ -49,7 +49,7 @@ jobs:
|
||||||
|
|
||||||
upload_reports:
|
upload_reports:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [variables]
|
needs: [variables, wait_for_deploy]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
@ -58,6 +58,19 @@ jobs:
|
||||||
curl -L "https://packages.cloudfoundry.org/stable?release=linux64-binary&source=github" | tar -zx
|
curl -L "https://packages.cloudfoundry.org/stable?release=linux64-binary&source=github" | tar -zx
|
||||||
sudo mv cf /usr/local/bin
|
sudo mv cf /usr/local/bin
|
||||||
|
|
||||||
|
- name: Set login credentials
|
||||||
|
uses: 18f/cg-deploy-action@main
|
||||||
|
env:
|
||||||
|
DEPLOY_NOW: thanks
|
||||||
|
ENVIRONMENT: ${{ needs.variables.outputs.environment }}
|
||||||
|
CF_USERNAME: CF_${{ needs.variables.outputs.environment }}_USERNAME
|
||||||
|
CF_PASSWORD: CF_${{ needs.variables.outputs.environment }}_PASSWORD
|
||||||
|
with:
|
||||||
|
cf_username: ${{ secrets[env.CF_USERNAME] }}
|
||||||
|
cf_password: ${{ secrets[env.CF_PASSWORD] }}
|
||||||
|
cf_org: cisa-dotgov
|
||||||
|
cf_space: ${{ env.ENVIRONMENT }}
|
||||||
|
|
||||||
- name: Generate current-federal.csv
|
- name: Generate current-federal.csv
|
||||||
run: cf run-task getgov-${{ env.ENVIRONMENT }} "/tmp/lifecycle/shell -c './manage.py generate_current_full_report.py'"
|
run: cf run-task getgov-${{ env.ENVIRONMENT }} "/tmp/lifecycle/shell -c './manage.py generate_current_full_report.py'"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue