Skip to content

Deploy to GitHub Pages #14

Deploy to GitHub Pages

Deploy to GitHub Pages #14

Workflow file for this run

name: Deploy to GitHub Pages
run-name: Deploy to GitHub Pages
on:
push:
branches:
- main
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.X
- name: Install Dependencies
run: pip install -r requirements.txt
- name: Build Site
run: mkdocs build
- name: Upload Site
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.BASALT_TOKEN }}
publish_dir: ./site