File tree Expand file tree Collapse file tree 2 files changed +56
-0
lines changed
Expand file tree Collapse file tree 2 files changed +56
-0
lines changed Original file line number Diff line number Diff line change 1+ # To get started with Dependabot version updates, you'll need to specify which
2+ # package ecosystems to update and where the package manifests are located.
3+ # Please see the documentation for more information:
4+ # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+ # https://containers.dev/guide/dependabot
6+
7+ version : 2
8+ updates :
9+ - package-ecosystem : " devcontainers"
10+ directory : " /"
11+ schedule :
12+ interval : weekly
Original file line number Diff line number Diff line change 1+ name : deploydocs
2+
3+ # Only run this when the main branch changes
4+ on :
5+ push :
6+ branches :
7+ - main
8+ # If your git repository has the Jupyter Book within some-subfolder next to
9+ # unrelated files, you can make this run only if a file within that specific
10+ # folder has been modified.
11+ #
12+ # paths:
13+ # - some-subfolder/**
14+
15+ # This job installs dependencies, build the book, and pushes it to `gh-pages`
16+ jobs :
17+ deploy-book :
18+ runs-on : ubuntu-latest
19+ steps :
20+ - uses : actions/checkout@v4.1.1
21+
22+ # Install dependencies
23+ - name : Set up Python
24+ uses : actions/setup-python@v5
25+ with :
26+ python-version : 3.11
27+
28+ - name : Install dependencies
29+ run : |
30+ pip install -r requirements.txt
31+ pip install -e . --no-deps --force-reinstall
32+
33+ # Build the book
34+ - name : Build the docs
35+ run : |
36+ cd docs
37+ make html
38+
39+ # Push the book's HTML to github-pages
40+ - name : GitHub Pages action
41+ uses : peaceiris/actions-gh-pages@v3.6.1
42+ with :
43+ github_token : ${{ secrets.GITHUB_TOKEN }}
44+ publish_dir : docs/_build/html
You can’t perform that action at this time.
0 commit comments