build: Run prettier instead of yamllint
Also switch to NixOS as runner image :) Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
parent
9f89bd901f
commit
3f1f051289
11
.build.yml
11
.build.yml
|
@ -1,17 +1,14 @@
|
|||
---
|
||||
image: debian/stable
|
||||
arch: amd64
|
||||
image: nixos/unstable
|
||||
packages:
|
||||
- hugo
|
||||
- yamllint
|
||||
- nixos.hugo
|
||||
- nixos.nodePackages_latest.prettier
|
||||
sources:
|
||||
- https://git.sr.ht/~c8h4/c8h4.io
|
||||
secrets:
|
||||
- 647d8203-92ca-401c-92e1-0c5abe7420d2
|
||||
tasks:
|
||||
- lint: |
|
||||
cd c8h4.io
|
||||
yamllint --strict .
|
||||
prettier --check .
|
||||
- build: |
|
||||
cd c8h4.io
|
||||
hugo --minify
|
||||
|
|
Loading…
Reference in a new issue