Resolve test_convert_s3_path_sqlite test failures with explicit local… #21
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
--- | |
# referenced from Tomás Farías Santana via | |
# https://tomasfarias.dev/posts/sphinx-docs-with-poetry-and-github-pages/ | |
name: publish docs | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@master | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: 3.9 | |
- name: install poetry | |
uses: abatilo/[email protected] | |
with: | |
poetry-version: "1.3.0" | |
- name: poetry deps | |
run: poetry install | |
- name: Build documentation | |
run: | | |
mkdir pages | |
touch pages/.nojekyll | |
cd docs | |
poetry run sphinx-build -b html source _build | |
cp -r _build/* ../pages/ | |
- name: Deploy documentation | |
uses: JamesIves/[email protected] | |
with: | |
branch: pages | |
folder: pages |