Skip to content

Commit 10613e7

Browse files
authored
Merge pull request #1156 from MIT-LCP/gh_action
add workflow to generate tables
2 parents 634afd6 + db41be2 commit 10613e7

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/main.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Generate tables on BigQuery
2+
3+
on:
4+
release:
5+
types: [published]
6+
branches: ["main"]
7+
8+
jobs:
9+
create-tables:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
14+
- name: Set up Cloud SDK
15+
uses: google-github-actions/setup-gcloud@master
16+
with:
17+
project_id: ${{ secrets.GCP_PROJECT_ID }}
18+
service_account_key: ${{ secrets.GCP_SA_KEY }}
19+
export_default_credentials: true
20+
21+
- name: Run make_concepts
22+
run: |
23+
echo "Generating tables on BigQuery"
24+
cd mimic-iv/concepts
25+
bash make_concepts.sh > /dev/null

0 commit comments

Comments
 (0)