This commit is contained in:
Pyrox 2024-06-30 01:53:29 -04:00
parent cef8f5a74e
commit 7210c4a6f9
Signed by untrusted user: pyrox
GPG key ID: 8CDF3F7CAA53A0F5
4 changed files with 30 additions and 0 deletions

1
.domains Normal file
View file

@ -0,0 +1 @@
auxdocs.pyrox.dev

View file

@ -0,0 +1,27 @@
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

1
.gitignore vendored
View file

@ -5,3 +5,4 @@ docs/nixpkgs-doc
docs docs
.cache/plugin/social .cache/plugin/social
mkdocs-hooks/__pycache__ mkdocs-hooks/__pycache__
public

View file

@ -2,6 +2,7 @@ site_name: Aux Docs
site_url: https://auxdocs.pyrox.dev/ site_url: https://auxdocs.pyrox.dev/
repo_url: https://git.pyrox.dev/pyrox/aux-docs repo_url: https://git.pyrox.dev/pyrox/aux-docs
repo_name: pyrox/aux-docs repo_name: pyrox/aux-docs
site_dir: public
theme: theme:
name: material name: material
favicon: assets/aux-logo.svg favicon: assets/aux-logo.svg