Skip to content

Create deploy.yaml

Create deploy.yaml #24

Workflow file for this run

# Deploy via Ark/Holly
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Install python
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install python dependencies
run: |
python -m pip install -U pip
python -m pip install -r requirements.txt
# Build the site
- name: Build the site
run: |
python -mark build
# Push the sites's HTML to github-pages
- name: GitHub Pages action
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/