Skip to content

Commit f7ee75f

Browse files
authored
Update deploy.yaml
1 parent 5609351 commit f7ee75f

File tree

1 file changed

+3
-26
lines changed

1 file changed

+3
-26
lines changed

.github/workflows/deploy.yaml

Lines changed: 3 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,11 @@
11
name: Deploy to GitHub Pages
2-
32
on:
43
push:
5-
branches:
6-
- master
7-
- main
4+
branches: [master]
85
workflow_dispatch:
9-
106
jobs:
117
deploy:
12-
name: Deploy to GitHub Pages
138
runs-on: ubuntu-latest
149
steps:
15-
- uses: actions/checkout@v3
16-
- uses: actions/setup-python@v3
17-
- name: Install Dependencies
18-
run: |
19-
python -m pip install --upgrade pip
20-
pip install git+https://github.com/fastai/nbdev.git
21-
pip install -qe ".[dev]"
22-
- run: nbdev_docs
23-
- name: Deploy to GitHub Pages
24-
uses: peaceiris/actions-gh-pages@v3
25-
with:
26-
github_token: ${{ secrets.GITHUB_TOKEN }}
27-
force_orphan: true
28-
publish_dir: ./docs
29-
# The following lines assign commit authorship to the official
30-
# GH-Actions bot for deploys to `gh-pages` branch.
31-
# You can swap them out with your own user credentials.
32-
user_name: github-actions[bot]
33-
user_email: 41898282+github-actions[bot]@users.noreply.github.com
34-
10+
- uses: fastai/workflows/quarto-ghp@master
11+
with: {pre: 1}

0 commit comments

Comments
 (0)