summaryrefslogtreecommitdiffstats
path: root/debian/policy/pages.yml
diff options
context:
space:
mode:
Diffstat (limited to 'debian/policy/pages.yml')
-rw-r--r--debian/policy/pages.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/policy/pages.yml b/debian/policy/pages.yml
new file mode 100644
index 0000000..6134582
--- /dev/null
+++ b/debian/policy/pages.yml
@@ -0,0 +1,20 @@
+pages:
+ stage: publish
+ image: debian:unstable
+ needs: []
+ before_script:
+ - apt-get -q update
+ - env DEBIAN_FRONTEND=noninteractive apt-get -q -y install docbook-utils docbook-xml make lynx
+ script:
+ - make -C debian/policy
+ - mkdir -p public
+ - cp -r debian/policy/vim-policy.txt public/
+ - cp -r debian/policy/vim-policy.html/* public/
+ rules:
+ - if: '$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == "debian/sid"'
+ changes:
+ - debian/policy/**/*
+ when: always
+ artifacts:
+ paths:
+ - public