mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-11 23:50:06 +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:
|
||||
- 'docs/**'
|
||||
- 'modules/**'
|
||||
- 'README.md'
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
|
|
@ -20,12 +21,11 @@ jobs:
|
|||
submodules: true
|
||||
fetch-depth: 0
|
||||
|
||||
- uses: cachix/install-nix-action@v16
|
||||
with:
|
||||
install_url: https://github.com/numtide/nix-unstable-installer/releases/download/nix-2.8.0pre20220311_d532269/install
|
||||
extra_nix_config: |
|
||||
experimental-features = nix-command flakes
|
||||
allow-import-from-derivation = true
|
||||
- name: install nix
|
||||
uses: cachix/install-nix-action@v20
|
||||
|
||||
- name: configure cache
|
||||
uses: DeterminateSystems/magic-nix-cache-action@v1
|
||||
|
||||
- name: build
|
||||
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";
|
||||
}) }:
|
||||
(kubenix.evalModules.x86_64-linux {
|
||||
module = {kubenix, ... }: {
|
||||
module = { kubenix, ... }: {
|
||||
imports = [ kubenix.modules.k8s ];
|
||||
kubernetes.resources.pods.example.spec.containers.nginx.image = "nginx";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue