Skip to content

Commit

Permalink
Deploy book updated
Browse files Browse the repository at this point in the history
  • Loading branch information
OverCV committed Jul 27, 2024
1 parent db95c39 commit eb95909
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 56 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/deploy-book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,30 @@ on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
deploy-book:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Set up Python 3.8
- name: Set up Python 3.12
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: 3.12

- name: Install dependencies
run: |
pip install -U jupyter-book
pip install ghp-import
python -m pip install -r requirements.txtx
- name: Build the book
run: |
jupyter-book build docs/
- name: Deploy to GitHub Pages
- name: GitHub Pages action
uses: peaceiris/actions-gh-pages@v3.6.1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
51 changes: 0 additions & 51 deletions .github/workflows/jekyll-gh-pages.yml

This file was deleted.

0 comments on commit eb95909

Please sign in to comment.