mirror of
https://github.com/daylinmorgan/viv.git
synced 2024-11-09 19:13:14 -06:00
32 lines
614 B
YAML
32 lines
614 B
YAML
name: GitHub Pages
|
|
|
|
on:
|
|
push:
|
|
tags: ["v*.*"]
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
deploy-docs:
|
|
runs-on: ubuntu-22.04
|
|
permissions:
|
|
contents: write
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: pdm-project/setup-pdm@v3
|
|
with:
|
|
python-version: 3.11
|
|
cache: true
|
|
|
|
- name: Setup Project
|
|
run: pdm install
|
|
|
|
- name: Build Docs
|
|
run: pdm run make docs
|
|
|
|
- name: Deploy
|
|
uses: peaceiris/actions-gh-pages@v3
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
cname: viv.dayl.in
|
|
publish_dir: ./site
|