File tree Expand file tree Collapse file tree 1 file changed +2
-31
lines changed Expand file tree Collapse file tree 1 file changed +2
-31
lines changed Original file line number Diff line number Diff line change 1
1
name : Deploy to GitHub Pages
2
-
3
2
on :
4
3
push :
5
- branches :
6
- - master
7
- - main
4
+ branches : [ "main", "master" ]
8
5
workflow_dispatch :
9
-
10
6
jobs :
11
7
deploy :
12
- name : Deploy to GitHub Pages
13
8
runs-on : ubuntu-latest
14
- steps :
15
- - uses : actions/checkout@v3
16
- - uses : actions/setup-python@v3
17
- with :
18
- python-version : " 3.10"
19
- architecture : " x64"
20
- - name : Install Dependencies
21
- run : |
22
- python -m pip install --upgrade pip
23
- python -m pip install git+https://github.com/fastai/nbdev.git
24
- - name : Build website
25
- run : nbdev_docs
26
- - name : Deploy to GitHub Pages
27
- uses : peaceiris/actions-gh-pages@v3
28
- with :
29
- github_token : ${{ secrets.GITHUB_TOKEN }}
30
- force_orphan : true
31
- publish_dir : ./_docs
32
- # The following lines assign commit authorship to the official
33
- # GH-Actions bot for deploys to `gh-pages` branch:
34
- # https://github.com/actions/checkout/issues/13#issuecomment-724415212
35
- # The GH actions bot is used by default if you didn't specify the two fields.
36
- # You can swap them out with your own user credentials.
37
- user_name : github-actions[bot]
38
- user_email : 41898282+github-actions[bot]@users.noreply.github.com
9
+ steps : [uses: fastai/workflows/quarto-ghp@master]
You can’t perform that action at this time.
0 commit comments