[docs] Atualiza instrução para fixar projeto no BQ (#1730) #795
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-docs | |
on: | |
push: | |
branches: | |
- main | |
- master | |
paths: | |
- 'docs/**' | |
- '.github/workflows/deploy-docs.yml' | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up poetry | |
run: pipx install poetry | |
- name: Set up python | |
uses: actions/setup-python@v4 | |
with: | |
cache: poetry | |
python-version: '3.7' | |
- name: Install requirements and activate environment | |
working-directory: ./python-package | |
run: | | |
poetry install | |
echo "$(poetry env info --path)/bin" >> $GITHUB_PATH | |
- name: Build and deploy docs | |
working-directory: ./docs | |
run: python -m mkdocs gh-deploy --force | |
env: | |
GOOGLE_ANALYTICS_KEY: ${{ secrets.GOOGLE_ANALYTICS_KEY }} |