diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..e8c60d0 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,17 @@ +pages: + image: + name: pandoc/alpine + entrypoint: ["/bin/sh", "-c"] + script: + - mkdir -p public + - echo '' > header.html + - pandoc -f markdown -t html -s README.md -o public/index.html --metadata title="NOIBW - Nix-Openwrt-ImageBuilder-Wrapper" --metadata keywords=nix,shell,openwrt,image,builder -H header.html + artifacts: + paths: + - public + rules: + - if: '$CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]$/' + when: on_success + allow_failure: false + - when: manual + allow_failure: true