Allison dbt docs workflow #2
Workflow file for this run
This file contains hidden or 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: Generate DBT Docs | |
on: | |
pull_request: | |
push: | |
branches: [ "main" ] | |
workflow_dispatch: | |
jobs: | |
generate: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: Install dbt | |
run: python -m pip install dbt-core dbt-redshift | |
- name: Run a one-line script | |
run: dbt --version | |
# Runs a set of commands using the runners shell | |
# - name: Run a multi-line script | |
# run: | | |
# echo Add other actions to build, | |
# echo test, and deploy your project. |