Skip to content

Commit

Permalink
update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
shunk031 committed Aug 25, 2023
1 parent b158960 commit 81ced40
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 6 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,19 @@ jobs:
- name: Install dependencies
run: |
pip install poetry
poetry export --without-hashes -f requirements.txt --output requirements.txt
poetry export -f requirements.txt --output requirements.txt
pip install -r requirements.txt
# Build the book by checking external links.
# Check external links in the book
- name: Check external links
run: |
jupyter-book build . --builder linkcheck
# Build the book
- name: Build the book
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
run: |
jupyter-book build --builder linkcheck .
jupyter-book build .
# Push the book's HTML to github-pages
- name: GitHub Pages action
Expand Down
29 changes: 27 additions & 2 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = ["Shunsuke KITADA <[email protected]>"]
readme = "README.md"

[tool.poetry.dependencies]
python = "^3.10"
python = "^3.9"
jupyter-book = "^0.15.1"
sphinxext-opengraph = "^0.8.2"
sphinxcontrib-external-link = {git = "https://github.com/attakei-lab/sphinxcontrib-external-link.git", branch = "main"}
Expand Down

0 comments on commit 81ced40

Please sign in to comment.