From ff4773f8c71ab5ee1397511629e28603d4928ed9 Mon Sep 17 00:00:00 2001 From: zandercymatics <141044360+zandercymatics@users.noreply.github.com> Date: Wed, 22 Nov 2023 12:51:03 -0700 Subject: [PATCH] Test command --- .github/workflows/daily-csv-upload.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/daily-csv-upload.yaml b/.github/workflows/daily-csv-upload.yaml index ef7e1e669..2564d7188 100644 --- a/.github/workflows/daily-csv-upload.yaml +++ b/.github/workflows/daily-csv-upload.yaml @@ -43,10 +43,12 @@ jobs: id: wait-for-deploy with: token: ${{ secrets.GITHUB_TOKEN }} - checkName: "deploy" # replace with the name of the deploy job - ref: ${{ github.event.pull_request.head.sha }} # the commit SHA of the head commit of the PR - timeoutSeconds: 600 # the maximum time to wait for the check to complete, in seconds - intervalSeconds: 10 # the time to wait between checks, in seconds + checkName: "deploy" + ref: ${{ github.event.pull_request.head.sha }} + # the maximum time to wait for the check to complete, in seconds + timeoutSeconds: 600 + # the time to wait between checks, in seconds + intervalSeconds: 10 upload_reports: runs-on: ubuntu-latest @@ -70,7 +72,7 @@ jobs: CF_PASSWORD: CF_${{ needs.variables.outputs.environment }}_PASSWORD - 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 }} --wait --command "python manage.py generate_current_full_report.py --name current_full" env: ENVIRONMENT: ${{ needs.variables.outputs.environment }}