Skip to content

Commit b09c190

Browse files
committed
fix: update publish_dir to fix online docs
1 parent b1cd769 commit b09c190

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,16 @@ jobs:
5454
fail-fast: false
5555
matrix:
5656
py: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
57-
os: ['windows-latest', 'ubuntu-latest', 'macos-latest']
57+
os: ['windows-latest', 'ubuntu-24.04', 'macos-latest']
5858
runs-on: ${{ matrix.os }}
5959
steps:
6060
- uses: actions/checkout@v4
6161
- uses: actions/setup-python@v5
6262
with:
6363
python-version: ${{ matrix.py }}
64-
- run: pip install -r requirements-dev.txt
64+
- run: |
65+
pip install --upgrade pip
66+
pip install -r requirements-dev.txt
6567
6668
- name: Download wheel artifact
6769
uses: actions/download-artifact@v4
@@ -100,4 +102,4 @@ jobs:
100102
uses: peaceiris/actions-gh-pages@v4
101103
with:
102104
github_token: ${{ secrets.GITHUB_TOKEN }}
103-
publish_dir: ./docs/_build/html
105+
publish_dir: ./_build/html

.gitpod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
# and commit this file to your remote git repository to share the goodness with others.
44

55
tasks:
6-
- before: pip install -r requirements-dev.txt
6+
- before: pip install --upgrade pip && pip install -r requirements-dev.txt
77
init: pre-commit install
88
command: pip install -e .

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ license = {text = "MIT License"}
1111
authors = [
1212
{ name = "Xianpeng Shen", email = "xianpeng.shen@gmail.com" },
1313
]
14+
requires-python = ">=3.8"
1415
dependencies = ["pyyaml"]
1516
classifiers = [
1617
# https://pypi.org/pypi?%3Aaction=list_classifiers

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy