forked from auxolotl/docs
add ci
This commit is contained in:
parent
cef8f5a74e
commit
7210c4a6f9
27
.forgejo/workflows/deploy.yaml
Normal file
27
.forgejo/workflows/deploy.yaml
Normal 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
1
.gitignore
vendored
|
@ -5,3 +5,4 @@ docs/nixpkgs-doc
|
||||||
docs
|
docs
|
||||||
.cache/plugin/social
|
.cache/plugin/social
|
||||||
mkdocs-hooks/__pycache__
|
mkdocs-hooks/__pycache__
|
||||||
|
public
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue