Update .gitlab-ci.yml

This commit is contained in:
stubbfel
2021-07-13 21:15:44 +00:00
parent 74562f4bb5
commit dbfb4f2b93

17
.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,17 @@
pages:
image:
name: pandoc/alpine
entrypoint: ["/bin/sh", "-c"]
script:
- mkdir -p public
- echo '<meta name="google-site-verification" content="xxx" />' > 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