Skip to content

add: rede_hoteleira_ocupacao_eventos to datario (#73) #122

add: rede_hoteleira_ocupacao_eventos to datario (#73)

add: rede_hoteleira_ocupacao_eventos to datario (#73) #122

Workflow file for this run

name: Deploy docs
on:
push:
branches:
- master
env:
DBT_SA: ${{ secrets.DBT_SA }}
jobs:
docs:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.9.x"
- name: Upgrade pip
run: |
pip install -U pip
- name: Install dependencies
run: |
pip3 install -r requirements-docs.txt -r requirements.txt
- name: Setup credentials
run: |
echo $DBT_SA | base64 --decode > dbt-sa.json
python3 .github/workflows/scripts/modify_profiles.py
- name: Generate docs
run: |
dbt docs generate --profiles-dir .
- name: Delete credentials
run: |
rm dbt-sa.json
- name: Copy pages/ directory to target/
run: |
cp -r pages/ target/
- name: Deploy docs
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: target