-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kick off etl nightly and quarterly for opennenss project
- Loading branch information
Showing
2 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,3 +33,15 @@ jobs: | |
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
run: make upload-to-s3 | ||
|
||
etl: | ||
needs: build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: clear cache | ||
uses: michcio1234/[email protected] | ||
with: | ||
heroku_api_key: ${{ secrets.HEROKU_API_KEY }} | ||
heroku_email: ${{ secrets.HEROKU_ACCOUNT }} | ||
heroku_app_name: ${{ secrets.HEROKU_APP }} | ||
command: make nightly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# This is a basic workflow to help you get started with Actions | ||
|
||
name: Do a quarterly data load | ||
|
||
|
||
# Controls when the action will run. | ||
on: | ||
schedule: | ||
- cron: '15 2 1 */3 *' | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
etl: | ||
needs: build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: clear cache | ||
uses: michcio1234/[email protected] | ||
with: | ||
heroku_api_key: ${{ secrets.HEROKU_API_KEY }} | ||
heroku_email: ${{ secrets.HEROKU_ACCOUNT }} | ||
heroku_app_name: ${{ secrets.HEROKU_APP }} | ||
command: make quarterly |