Fix typos and update policy tags #25
Workflow file for this run
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
name: DBT Compile | |
on: [pull_request, push] | |
jobs: | |
dbt-compile: | |
name: DBT Compile | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.x | |
- name: Create credentials directory | |
run: mkdir -p credentials | |
- name: Mount credentials | |
env: | |
DBT_CREDENTIALS_DEV: ${{ secrets.DBT_CREDENTIALS_DEV }} | |
run: echo "$DBT_CREDENTIALS_DEV" > credentials/dev.json | |
- name: Install dbt | |
run: pip install dbt-core dbt-bigquery | |
- name: Compile dbt models | |
run: dbt compile --profiles-dir . --profile default --target compile | |