Skip to content

Commit ec2ceac

Browse files
authored
create docs deploy workflow (#304)
1 parent 0dd1db6 commit ec2ceac

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

.github/workflows/deploy.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
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+
cache: 'pip'
20+
21+
- name: Install dependencies
22+
run: pip install -r requirements.txt
23+
working-directory: docs
24+
25+
- name: Build documentation
26+
run: make html
27+
working-directory: docs # Adjust to your Sphinx docs directory
28+
29+
- name: Deploy to GitHub Pages
30+
uses: peaceiris/actions-gh-pages@v3
31+
with:
32+
github_token: ${{ secrets.GITHUB_TOKEN }}
33+
publish_dir: docs/_build/html

CNAME

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
evideo.eventyay.com

0 commit comments

Comments
 (0)