docs: redeploy site when README.md changes

This commit is contained in:
Bryton Hall 2023-07-07 01:16:48 -04:00
parent 07ba711056
commit 7a64a0f599
2 changed files with 7 additions and 7 deletions

View file

@ -7,6 +7,7 @@ on:
paths: paths:
- 'docs/**' - 'docs/**'
- 'modules/**' - 'modules/**'
- 'README.md'
jobs: jobs:
deploy: deploy:
@ -20,12 +21,11 @@ jobs:
submodules: true submodules: true
fetch-depth: 0 fetch-depth: 0
- uses: cachix/install-nix-action@v16 - name: install nix
with: uses: cachix/install-nix-action@v20
install_url: https://github.com/numtide/nix-unstable-installer/releases/download/nix-2.8.0pre20220311_d532269/install
extra_nix_config: | - name: configure cache
experimental-features = nix-command flakes uses: DeterminateSystems/magic-nix-cache-action@v1
allow-import-from-derivation = true
- name: build - name: build
run: nix run '.#docs' -- --minify run: nix run '.#docs' -- --minify