Skip to content

Commit

Permalink
[CI] Now use more flexible building process.
Browse files Browse the repository at this point in the history
  • Loading branch information
aicorein committed Apr 16, 2024
1 parent 27ab815 commit 6c7ed27
Showing 2 changed files with 8 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/mkdoc.yml
Original file line number Diff line number Diff line change
@@ -17,11 +17,14 @@ jobs:
- uses: actions/checkout@v4

- name: Build the doc
uses: ammaraskar/sphinx-action@7.2.6
uses: actions/setup-python@v5
with:
docs-folder: "docs/"
build-command: "sphinx-build -b html . build"

python-version: '3.10'
run: |
cd docs/
pip install -r requirements.txt
make html
- name: Commit doc changes
run: |
git clone https://github.com/aicorein/melobot.git --branch gh-pages --single-branch gh-pages
1 change: 1 addition & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
sphinx>=7.2.6
furo>=2024.1.29
myst-parser>=2.0.0
sphinx-copybutton>=0.5.2

0 comments on commit 6c7ed27

Please sign in to comment.