-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
19 additions
and
16 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 |
---|---|---|
|
@@ -15,16 +15,19 @@ jobs: | |
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/setup-python@v4 | ||
- name: Setting up PDM | ||
uses: pdm-project/setup-pdm@v4 | ||
with: | ||
python-version: 3.10.6 | ||
- name: Install Dependencies | ||
run: | | ||
pip install mkdocs-material | ||
pip install pillow cairosvg mike | ||
- name: Setup Docs Deploy | ||
python-version: "3.10" | ||
architecture: x64 | ||
- name: Setting up nox | ||
uses: wntrblm/[email protected] | ||
with: | ||
python-versions: "3.10" | ||
- name: Build Documentation | ||
run: | | ||
git config --global user.name "GitHub Action" | ||
git config --global user.email "[email protected]" | ||
- name: Build Docs Website | ||
run: mike deploy --push develop | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Action" | ||
git fetch origin gh-pages:gh-pages | ||
nox -s docs -- --update-aliases dev | ||
git push origin gh-pages |
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 |
---|---|---|
|
@@ -16,6 +16,10 @@ jobs: | |
with: | ||
python-version: "3.10" | ||
architecture: x64 | ||
- name: Setting up nox | ||
uses: wntrblm/[email protected] | ||
with: | ||
python-versions: "3.10" | ||
- name: Check prerelease | ||
id: check_version | ||
run: | | ||
|
@@ -24,10 +28,6 @@ jobs: | |
else | ||
echo "PRERELEASE=true" >> $GITHUB_OUTPUT | ||
fi | ||
- name: Setting up nox | ||
uses: wntrblm/[email protected] | ||
with: | ||
python-versions: "3.10" | ||
- name: Build artifacts | ||
run: | | ||
nox -s build | ||
|
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