Styling (#13) #8
Workflow file for this run
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: Build Documentation | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- "**" | |
workflow_dispatch: | |
permissions: | |
contents: write | |
jobs: | |
build-docs: | |
concurrency: ci-${{ github.ref }} | |
name: Build docs | |
runs-on: "ubuntu-latest" | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
# Grap the latest commit from the branch | |
- name: Checkout the branch | |
uses: actions/[email protected] | |
with: | |
persist-credentials: false | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.11 | |
- name: Install Hatch | |
uses: pypa/hatch@install | |
- name: Build and deploy the documentation | |
run: hatch run docs:deploy | |
- name: Deploy Page 🚀 | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: site |