summaryrefslogtreecommitdiffstats
path: root/debian/policy/pages.yml
blob: 6134582a7ea1140822e78f03b6223a33074889bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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