diff --git a/.github/workflows/Nightly_Ingest.yml b/.github/workflows/Nightly_Ingest.yml new file mode 100644 index 000000000..356417862 --- /dev/null +++ b/.github/workflows/Nightly_Ingest.yml @@ -0,0 +1,11 @@ +on: + schedule: + - cron: '0 0 * * *' +jobs: + curl: + runs-on: ubuntu-latest + steps: + - name: curl + uses: wei/curl@master + with: + args: ${{secrets.DB_URL}}/ingest?years=2015,2016,2017,2018,2019 & diff --git a/.github/workflows/Publish_Backend_Package.yml b/.github/workflows/Publish_Backend_Package.yml index 16fadb675..82d95e215 100644 --- a/.github/workflows/Publish_Backend_Package.yml +++ b/.github/workflows/Publish_Backend_Package.yml @@ -47,4 +47,4 @@ jobs: env: HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }} run: | - heroku config:set -a hackforla-311 PROJECT_URL=${{ secrets.PROJECT_URL }} GITHUB_TOKEN=${{ secrets.GH_ISSUES_TOKEN }} + heroku config:set -a hackforla-311 PROJECT_URL=${{ secrets.PROJECT_URL }} GITHUB_TOKEN=${{ secrets.GH_ISSUES_TOKEN }} TOKEN=${{ secrets.SOCRATA_TOKEN }}