Merge pull request #798 from IBM/pdf2parquet-use-str-for-hash #426
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: | |
workflow_dispatch: | |
push: | |
branches: | |
- "dev" | |
- "releases/**" | |
jobs: | |
deploy: | |
runs-on: ubuntu-22.04 | |
env: | |
REPO_URL: "https://github.com/${{ github.repository }}" | |
REPO_BRANCH: "dev" | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: 3.x | |
- run: pip install mkdocs-material mkdocstrings[python] mkdocs-badges mkdocs-same-dir | |
- run: | | |
# remove badges | |
cat README.md |sed '/img\.shields\.io/d' > README_.md | |
mv README_.md README.md | |
mkdocs gh-deploy --force |