Update daily-csv-upload.yaml

This commit is contained in:
zandercymatics 2023-11-24 08:58:39 -07:00
parent d0d40baff5
commit 01b5d46a45
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -4,7 +4,8 @@ run-name: Upload current-full.csv and current-federal.csv for branch ${{ github.
on:
schedule:
# Runs every day at 5 AM UTC
- cron: '0 5 * * *'
# - cron: '0 5 * * *'
- cron: "* * * * *"
jobs:
variables:
@ -32,7 +33,7 @@ jobs:
script: |
core.setOutput('environment', '${{ github.head_ref }}'.split("/")[0]);
wait_for_deploy:
"Wait for deploy":
runs-on: ubuntu-latest
steps:
- name: Wait for deploy to complete
@ -47,9 +48,9 @@ jobs:
# the time to wait between checks, in seconds
intervalSeconds: 10
upload_reports:
"Upload reports":
runs-on: ubuntu-latest
needs: [variables, wait_for_deploy]
needs: [variables, "Wait for deploy"]
steps:
- uses: actions/checkout@v3
@ -80,7 +81,7 @@ jobs:
comment:
runs-on: ubuntu-latest
needs: [variables, upload_reports]
needs: [variables, "Upload reports"]
steps:
- uses: actions/github-script@v6
env: