docs/.forgejo/workflows/deploy.yaml

28 lines
571 B
YAML
Raw Normal View History

2024-06-30 05:53:29 +00:00
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