File tree 2 files changed +40
-0
lines changed
2 files changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Deploy Sphinx Documentation to GitHub Pages
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - development # Adjust this to your default branch
7
+
8
+ jobs :
9
+ deploy :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - name : Check out the repository
13
+ uses : actions/checkout@v3
14
+
15
+ - name : Set up Python
16
+ uses : actions/setup-python@v4
17
+ with :
18
+ python-version : ' 3.11'
19
+
20
+ - name : Install system packages
21
+ run : |
22
+ sudo add-apt-repository universe multiverse
23
+ sudo apt update && sudo apt install enchant-2 libffi-dev libssl-dev libxml2-dev libxslt1-dev gettext libfreetype-dev libjpeg-dev
24
+
25
+ - name : Install dependencies
26
+ run : |
27
+ pip install -r requirements.txt
28
+ pip install "Jinja2<3.1" "sphinx==5.0.*"
29
+ working-directory : doc
30
+
31
+ - name : Build documentation
32
+ run : make html
33
+ working-directory : doc # Adjust to your Sphinx docs directory
34
+
35
+ - name : Deploy to GitHub Pages
36
+ uses : peaceiris/actions-gh-pages@v3
37
+ with :
38
+ github_token : ${{ secrets.GITHUB_TOKEN }}
39
+ publish_dir : doc/_build/html
Original file line number Diff line number Diff line change 1
1
include LICENSE
2
+ include CNAME
2
3
include README.rst
3
4
global-include *.proto
4
5
recursive-include src/pretix/static *
You can’t perform that action at this time.
0 commit comments