Update technical_meetings.md #92
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy Sphinx Docs to GitHub Pages | |
on: | |
push: | |
branches: | |
- main # Trigger deployment when pushing to main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- name: Set Up Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: '3.x' | |
- name: Install Sphinx and Dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install sphinx myst-parser sphinx_rtd_theme | |
- name: Build HTML | |
run: | | |
sphinx-build -b html source/ _build/html | |
- name: Deploy to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./_build/html | |
publish_branch: gh-pages | |
force_orphan: true # Deletes previous history (keeps gh-pages clean) |