File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Only run this when the master branch changes
2+ on :
3+ push :
4+ branches :
5+ - main
6+ - master
7+ # If your git repository has the Jupyter Book within some-subfolder next to
8+ # unrelated files, you can make this run only if a file within that specific
9+ # folder has been modified.
10+ #
11+ # paths:
12+ # - some-subfolder/**
13+
14+ # This job installs dependencies, builds the book, and pushes it to `gh-pages`
15+ jobs :
16+ deploy-book :
17+ runs-on : ubuntu-latest
18+ steps :
19+ - uses : actions/checkout@v2
20+
21+ # Install dependencies
22+ - name : Set up Python 3.9
23+ uses : actions/setup-python@v2
24+ with :
25+ python-version : 3.9
26+
27+ - name : Install dependencies
28+ run : |
29+ pip install jupyter-book
30+
31+ # Build the book
32+ - name : Build the book
33+ run : |
34+ jupyter-book build .
35+
36+ # Push the book's HTML to github-pages
37+ - name : GitHub Pages action
38+ uses : peaceiris/actions-gh-pages@v3.6.1
39+ with :
40+ github_token : ${{ secrets.GITHUB_TOKEN }}
41+ publish_dir : ./_build/html
Original file line number Diff line number Diff line change 1- # 量潮数据云产品策划文档
1+ # 量潮数据云产品需求文档
You can’t perform that action at this time.
0 commit comments