blog/.gitea/workflows/build.yaml

27 lines
549 B
YAML
Raw Normal View History

2023-08-12 15:00:51 +01:00
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:
2023-08-12 15:04:48 +01:00
- uses: actions/checkout@v3
name: Checkout
2023-08-12 15:00:51 +01:00
- run: |
nix develop -c hugo --gc --minify