ci: user master branch to test docs build on PR

This commit is contained in:
Robert Kaussow 2021-03-02 22:45:05 +01:00
parent 5c15ade342
commit c089643bcb
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61
3 changed files with 46 additions and 1 deletions

View File

@ -169,6 +169,23 @@ steps:
commands: commands:
- mkdir -p exampleSite/themes/hugo-geekdoc/ - mkdir -p exampleSite/themes/hugo-geekdoc/
- curl -sSL https://github.com/thegeeklab/hugo-geekdoc/releases/latest/download/hugo-geekdoc.tar.gz | tar -xz -C exampleSite/themes/hugo-geekdoc/ --strip-components=1 - curl -sSL https://github.com/thegeeklab/hugo-geekdoc/releases/latest/download/hugo-geekdoc.tar.gz | tar -xz -C exampleSite/themes/hugo-geekdoc/ --strip-components=1
when:
ref:
- refs/heads/master
- refs/tags/**
- name: assets
image: node:lts
commands:
- npm install > /dev/null
- npx gulp default
- mkdir exampleSite/themes/ && ln -s $(pwd)/ exampleSite/themes/hugo-geekdoc
environment:
FORCE_COLOR: true
NPM_CONFIG_LOGLEVEL: error
when:
ref:
- refs/pull/**
- name: build - name: build
image: klakegg/hugo:0.80.0-ext-alpine-ci image: klakegg/hugo:0.80.0-ext-alpine-ci
@ -252,6 +269,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: 0e3b40841b005c43e743091e0457d4d28e376442b877e81ecf3576093d78ab33 hmac: 838fa95a0e12d61deaaa3620f004919c1f6e73eba88073c0ffdf96b91ecd0f3b
... ...

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -0,0 +1,27 @@
[
"arrow_back",
"arrow_left_alt",
"arrow_right_alt",
"bitbucket",
"bookmark",
"code",
"date",
"download",
"email",
"git",
"github",
"gitlab",
"heart",
"keyborad_arrow_down",
"keyborad_arrow_left",
"keyborad_arrow_right",
"link",
"menu",
"notification",
"path",
"person",
"search",
"shield",
"tags",
"telescope"
]