Skip to content

feat: Add exponentiation operator to CSEMachine (#32) #15

feat: Add exponentiation operator to CSEMachine (#32)

feat: Add exponentiation operator to CSEMachine (#32) #15

Workflow file for this run

name: Build and Deploy Documentation
on:
push:
branches:
- main
paths:
- 'src/**'
- '.github/workflows/sphinx.yml'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: 3.x
- name: Install dependencies
run: |
pip install -r requirements.txt
- name: Generate Sphinx documentation
run: |
sphinx-apidoc -o docs src
cd docs
make html
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_build/html