forked from reczoo/FuxiCTR
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (31 loc) · 950 Bytes
/
jupyter-book.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: jupyter-book
# Only run this when the master branch changes
on:
push:
branches:
- main
# This job installs dependencies, build the book, and pushes it to `gh-pages`
jobs:
deploy-book:
runs-on: ubuntu-latest
steps:
# Install dependencies
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: 3.7
- run: pip install jupyter-book
# # Build the book
# - name: Build the book
# run: |
# jupyter-book build ./docs/tutorials/v2.0
# # Push the book's HTML to github-pages
# - name: Deploy github-pages
# uses: peaceiris/actions-gh-pages@v3
# with:
# personal_token: ${{ secrets.PERSONAL_TOKEN }}
# external_repository: fuxictr/fuxictr.github.io
# publish_branch: main
# publish_dir: ./docs/tutorials/v2.0/_build/html
# exclude_assets: '_sources'
# destination_dir: tutorials/v2.0