docs/.forgejo/workflows/deploy.yaml
2024-06-30 01:53:29 -04:00

28 lines
571 B
YAML

on:
push:
branches:
- main
jobs:
build:
runs-on: default
steps:
- name: Checkout Repo
uses: https://code.forgejo.org/actions/checkout@v4
- name: Install Go
uses: https://code.forgejo.org/actions/setup-go@v4
with:
go-version: "1.21.6"
- name: Run Hugo
run: |
nix develop
nix build .#md-manual --out-link docs
mkdocs build -d ./public
- name: Deploy
uses: https://git.pyrox.dev/actions/pages-action@v2
with:
folder: ./public