Skip to content

Commit

Permalink
add workflow to regenerate tables
Browse files Browse the repository at this point in the history
  • Loading branch information
alistairewj committed Oct 11, 2021
1 parent 634afd6 commit db41be2
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 db41be2

Please sign in to comment.