From dbfb4f2b93134996ebfc1a1999323b563bd8d1aa Mon Sep 17 00:00:00 2001 From: stubbfel Date: Tue, 13 Jul 2021 21:15:44 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .gitlab-ci.yml 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