diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 000000000..bbe4235e6 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,35 @@ +name: Deploy Sphinx Documentation to GitHub Pages + +on: + push: + branches: + - deployment # 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 system packages + run: sudo apt update && sudo apt install libffi-dev gettext + + - name: Install dependencies + run: pip install --upgrade-strategy eager -Ur doc/requirements.txt + + - name: Build documentation + run: make html + working-directory: doc # 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: doc/_build/html \ No newline at end of file diff --git a/CNAME b/CNAME new file mode 100644 index 000000000..8f42c8cf2 --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +etalk.eventyay.com diff --git a/MANIFEST.in b/MANIFEST.in index 34dfc35f1..baa2e0ebd 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,5 +1,6 @@ include _build/backend.py include LICENSE +include CNAME include README.rst include src/pretalx.example.cfg include Dockerfile