Skip to content

Commit

Permalink
Merge pull request #1156 from MIT-LCP/gh_action
Browse files Browse the repository at this point in the history
add workflow to generate tables
  • Loading branch information
tompollard authored Oct 12, 2021
2 parents 634afd6 + db41be2 commit 10613e7
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Generate tables on BigQuery

on:
release:
types: [published]
branches: ["main"]

jobs:
create-tables:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Set up Cloud SDK
uses: google-github-actions/setup-gcloud@master
with:
project_id: ${{ secrets.GCP_PROJECT_ID }}
service_account_key: ${{ secrets.GCP_SA_KEY }}
export_default_credentials: true

- name: Run make_concepts
run: |
echo "Generating tables on BigQuery"
cd mimic-iv/concepts
bash make_concepts.sh > /dev/null

0 comments on commit 10613e7

Please sign in to comment.