summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorRyan Mulligan <ryan@ryantm.com>2020-12-22 21:56:46 -0800
committerJonathan Ringer <jonringer@users.noreply.github.com>2021-05-22 18:14:49 -0700
commit6c14851943fe55da9df88a502d1e1fe2271d9666 (patch)
tree3508d24c58f5a5402650446aaae471f2243c24b4 /.github
parentff1ded3e2047268a55d3443459cda01cf9242e45 (diff)
nixos/doc: add md-to-db.sh, convert "Building Your Own NixOS CD" to CommonMark
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/nixos-manual.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/nixos-manual.yml b/.github/workflows/nixos-manual.yml
new file mode 100644
index 000000000000..101cd3906bef
--- /dev/null
+++ b/.github/workflows/nixos-manual.yml
@@ -0,0 +1,20 @@
+name: NixOS manual checks
+
+on:
+ pull_request:
+ branches-ignore:
+ - 'release-**'
+ paths:
+ - 'nixos/**/*.xml'
+ - 'nixos/**/*.md'
+
+jobs:
+ tests:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - uses: cachix/install-nix-action@v12
+ - name: Check DocBook files generated from Markdown are consistent
+ run: |
+ nixos/doc/manual/md-to-db.sh
+ git diff --exit-code