Skip to content

Update README.md

Update README.md #25

Workflow file for this run

name: dbt CI/CD
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install dbt-core dbt-redshift
- name: Build dbt artifacts
run: |
dbt clean
dbt deps
dbt run --target prod
dbt docs generate
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./target/catalog
publish_branch: gh-pages