viv/.github/workflows/docs.yml

33 lines
614 B
YAML
Raw Normal View History

name: GitHub Pages
on:
push:
2023-05-28 18:43:17 -05:00
tags: ["v*.*"]
workflow_dispatch:
jobs:
deploy-docs:
runs-on: ubuntu-22.04
permissions:
contents: write
steps:
- uses: actions/checkout@v3
2023-06-01 00:04:02 -05:00
- 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 }}
2023-05-31 10:36:45 -05:00
cname: viv.dayl.in
2023-06-01 00:04:02 -05:00
publish_dir: ./site