-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
version bump, changelog, automate docs
- Loading branch information
1 parent
8c9475f
commit 554de54
Showing
5 changed files
with
34 additions
and
3 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Docs | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
deploy-docs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Deploy docs | ||
run: | | ||
pip install sphinx-rtd-theme | ||
THEME_PATH=$(python3 -c "import sphinx_rtd_theme, os; print(os.path.dirname(sphinx_rtd_theme.__file__))") | ||
docker run --rm -v ${PWD}/docs:/docs -v ${THEME_PATH}:/docs/source/_themes/sphinx_rtd_theme sphinxdoc/sphinx make html | ||
echo "${{ secrets.DOCS_DEPLOY_PRIVKEY }}" > ./privkey | ||
chmod 0600 ./privkey | ||
# option -s needed to use sftp subsystem in OpenSSH 8.9 | ||
scp -si ./privkey -o StrictHostKeyChecking=accept-new -r ${PWD}/docs/build/html/* ${{ secrets.DOCS_DEPLOY_DST }} | ||
shell: bash |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ name: Release | |
|
||
on: | ||
push: | ||
tag: | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
|
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
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
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