Skip to content

Commit

Permalink
create docs deploy workflow (#304)
Browse files Browse the repository at this point in the history
  • Loading branch information
r3yc0n1c authored Jan 19, 2025
1 parent 0dd1db6 commit ec2ceac
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Deploy Sphinx Documentation to GitHub Pages

on:
push:
branches:
- development # Adjust this to your default branch

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: 'pip'

- name: Install dependencies
run: pip install -r requirements.txt
working-directory: docs

- name: Build documentation
run: make html
working-directory: docs # Adjust to your Sphinx docs directory

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_build/html
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
evideo.eventyay.com

0 comments on commit ec2ceac

Please sign in to comment.