forked from auxolotl/docs
update ci workflow
This commit is contained in:
parent
7210c4a6f9
commit
90f5957cc5
|
@ -2,20 +2,17 @@ on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: default
|
runs-on: docker
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: https://code.forgejo.org/actions/checkout@v4
|
uses: https://code.forgejo.org/actions/checkout@v4
|
||||||
|
|
||||||
- name: Install Go
|
- name: Setup Nix
|
||||||
uses: https://code.forgejo.org/actions/setup-go@v4
|
uses: https://github.com/cachix/install-nix-action@v27
|
||||||
with:
|
|
||||||
go-version: "1.21.6"
|
|
||||||
|
|
||||||
- name: Run Hugo
|
- name: Build Docs
|
||||||
run: |
|
run: |
|
||||||
nix develop
|
nix develop
|
||||||
nix build .#md-manual --out-link docs
|
nix build .#md-manual --out-link docs
|
||||||
|
|
Loading…
Reference in a new issue