mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2026-02-02 09:25:10 +01:00
docs: redeploy site when README.md changes
This commit is contained in:
parent
07ba711056
commit
7a64a0f599
2 changed files with 7 additions and 7 deletions
12
.github/workflows/pages.yml
vendored
12
.github/workflows/pages.yml
vendored
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ Or, if you're not using flakes, a `default.nix` file (build with `nix-build`):
|
||||||
rev = "main";
|
rev = "main";
|
||||||
}) }:
|
}) }:
|
||||||
(kubenix.evalModules.x86_64-linux {
|
(kubenix.evalModules.x86_64-linux {
|
||||||
module = {kubenix, ... }: {
|
module = { kubenix, ... }: {
|
||||||
imports = [ kubenix.modules.k8s ];
|
imports = [ kubenix.modules.k8s ];
|
||||||
kubernetes.resources.pods.example.spec.containers.nginx.image = "nginx";
|
kubernetes.resources.pods.example.spec.containers.nginx.image = "nginx";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue