add gitea workflows
This commit is contained in:
parent
6a29ea502d
commit
6cef9d9434
1 changed files with 25 additions and 0 deletions
25
.gitea/workflows/build.yaml
Normal file
25
.gitea/workflows/build.yaml
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
name: build and publish
|
||||||
|
|
||||||
|
on: push
|
||||||
|
env:
|
||||||
|
DEV_SHELL_NAME: CI
|
||||||
|
jobs:
|
||||||
|
check_config:
|
||||||
|
runs-on: flakes-action
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
name: Checkout
|
||||||
|
- name: Metadata
|
||||||
|
run: |
|
||||||
|
nix flake metadata
|
||||||
|
- name: Statix
|
||||||
|
run: |
|
||||||
|
nix develop -c statix check
|
||||||
|
- name: Flake check
|
||||||
|
run: |
|
||||||
|
nix flake check
|
||||||
|
build:
|
||||||
|
runs-on: flakes-action
|
||||||
|
steps:
|
||||||
|
- run: |
|
||||||
|
nix develop -c hugo --gc --minify
|
Loading…
Reference in a new issue