diff options
| author | Franck Cuny <franck@fcuny.net> | 2024-12-29 10:05:46 -0800 |
|---|---|---|
| committer | Franck Cuny <59291+fcuny@users.noreply.github.com> | 2025-02-01 14:20:23 -0800 |
| commit | b3d612b3edfa72f4199b2d74898e3f517f7254bf (patch) | |
| tree | 535b86ab8f04f1ff070460ec5b701417cffebc15 | |
| parent | Merge pull request #11 from fcuny/update_flake_lock_action (diff) | |
| download | fcuny.net-b3d612b3edfa72f4199b2d74898e3f517f7254bf.tar.gz | |
formatting
| -rw-r--r-- | .github/workflows/check-links.yml | 2 | ||||
| -rw-r--r-- | .github/workflows/flake-checker.yml | 2 | ||||
| -rw-r--r-- | .vscode/extensions.json | 5 | ||||
| -rw-r--r-- | README.md | 1 | ||||
| -rw-r--r-- | justfile | 12 |
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"] } @@ -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). @@ -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 |
