Skip to content

Add basic content (#3) #3

Add basic content (#3)

Add basic content (#3) #3

Workflow file for this run

name: Build and Deploy to GitHub Pages
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
jobs:
deploy:
if: ${{ github.event_name == 'push' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: recursive
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.8'
cache: 'pip'
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install --upgrade --requirement ./requirements.txt
- name: Build Site
run: cd docs && make html
- name: Deploy Site
if: ${{ success() }}
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_build/html/