build(deps): Bump urllib3 from 1.26.18 to 1.26.19 #90
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: Deploy dbt | |
on: | |
push: { branches: ["main"] } | |
workflow_dispatch: | |
env: | |
DBT_PROJECT_DIR: ${{ vars.DBT_PROJECT_DIR }} | |
DBT_PROFILES_DIR: ${{ vars.DBT_PROFILES_DIR }} | |
permissions: | |
contents: write | |
jobs: | |
dbt-build: | |
name: Build dbt π | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout ποΈ | |
uses: actions/checkout@v3 | |
- name: π¦ Set up Poetry | |
run: pipx install poetry==1.8.2 | |
- name: Python setup π | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
- name: Install dbt β¬οΈ | |
run: poetry install | |
- name: Create mock database π€‘ | |
run: > | |
poetry run python -c | |
"import duckdb; con = duckdb.connect('$GITHUB_WORKSPACE/billiam_database/billiam.duckdb'); con.close()" | |
- name: Install dbt dependencies β | |
run: | | |
poetry run dbt clean --no-clean-project-files-only | |
poetry run dbt deps | |
poetry run dbt run-operation set_ci_environment | |
- name: Compile dbt docs π | |
run: poetry run dbt docs generate | |
- name: Deploy dbt docs π | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
folder: billiam_database/target |