aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/check-links.yml2
-rw-r--r--.github/workflows/flake-checker.yml2
-rw-r--r--.vscode/extensions.json5
-rw-r--r--README.md1
-rw-r--r--justfile12
5 files changed, 10 insertions, 12 deletions
diff --git a/.github/workflows/check-links.yml b/.github/workflows/check-links.yml
index 9d02486..27cf50c 100644
--- a/.github/workflows/check-links.yml
+++ b/.github/workflows/check-links.yml
@@ -38,7 +38,7 @@ jobs:
uses: lycheeverse/lychee-action@v2
with:
fail: false
- args: './result/**/*.html'
+ args: "./result/**/*.html"
- name: Save lychee cache
uses: actions/cache/save@v4
if: always()
diff --git a/.github/workflows/flake-checker.yml b/.github/workflows/flake-checker.yml
index 00a27b6..45b3115 100644
--- a/.github/workflows/flake-checker.yml
+++ b/.github/workflows/flake-checker.yml
@@ -5,7 +5,7 @@ on:
branches:
- master
schedule:
- - cron: '42 0 * * 6'
+ - cron: "42 0 * * 6"
workflow_dispatch:
jobs:
diff --git a/.vscode/extensions.json b/.vscode/extensions.json
index 09730c8..fe10822 100644
--- a/.vscode/extensions.json
+++ b/.vscode/extensions.json
@@ -1,6 +1,3 @@
{
- "recommendations": [
- "mkhl.direnv",
- "nefrob.vscode-just-syntax",
- ]
+ "recommendations": ["mkhl.direnv", "nefrob.vscode-just-syntax"]
}
diff --git a/README.md b/README.md
index 96899cd..c011a0a 100644
--- a/README.md
+++ b/README.md
@@ -7,6 +7,7 @@ Running `just run` will start the `zola` server.
## Build
Running `just build` will build the site, and the content will be available under `result/`.
+
## Deploy
The site is deployed by a [GHA](.github/workflows/page.yml).
diff --git a/justfile b/justfile
index 6d70b79..75bedea 100644
--- a/justfile
+++ b/justfile
@@ -1,32 +1,32 @@
default:
@just --list
-[group('site')]
[doc('Run the local HTTP server')]
+[group('site')]
run:
zola serve
-[group('site')]
[doc('Build the site')]
+[group('site')]
build:
nix build
-[group('nix')]
[doc('Format all the files')]
+[group('nix')]
fmt:
nix fmt
-[group('nix')]
[doc('Check the flake')]
+[group('nix')]
check:
nix flake check
-[group('site')]
[doc('Validate the site')]
+[group('site')]
validate: build
lychee ./result/**/*.html
-[group('nix')]
[doc('Update the dependencies')]
+[group('nix')]
update-deps:
nix flake update --commit-lock-file