Skip to content

Commit

Permalink
Cron job for nightly downloads of the last 5yr of 311-data
Browse files Browse the repository at this point in the history
Added test for nightly ingest

Added test for nightly ingest

Added test for nightly ingest

Added test for nightly ingest

Added test for nightly ingest

Added test for nightly ingest

Added test for nightly ingest

Added test for nightly ingest

Added test for nightly ingest

Added test for nightly ingest

Added test for nightly ingest

Added test for nightly ingest

Added test for nightly ingest
  • Loading branch information
sellnat77 committed Apr 3, 2020
1 parent d91767e commit 395b296
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .github/workflows/Nightly_Ingest.yml
Original file line number Diff line number Diff line change
@@ -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 &
2 changes: 1 addition & 1 deletion .github/workflows/Publish_Backend_Package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 395b296

Please sign in to comment.