BF: Need to send X without eol as otherwise box will ignore next command #20
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: Publish docs | |
on: push | |
jobs: | |
build: | |
name: Build docs | |
runs-on: macos-11 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: Install package and dependencies | |
run: | | |
python3 -m pip install -e .[docs] | |
- name: Build docs | |
run: | | |
sphinx-build docs_src docs -b dirhtml | |
- name: Bypass Jekyll | |
run: | | |
echo "" > docs/.nojekyll | |
- name: Commit | |
run: | | |
git add --all | |
git commit --all -m "sys: Build documentation" | |
- name: Push | |
uses: ad-m/github-push-action@master | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
branch: gh-pages | |
force: true |