Switch building the docs to download the theme instead of building

This commit is contained in:
kolaente 2021-04-22 11:25:19 +02:00
parent 43cb7f1fc2
commit 4504499f60
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B

View File

@ -544,20 +544,15 @@ trigger:
- main
steps:
- name: submodules
image: docker:git
commands:
- git submodule update --init
- git submodule update --recursive --remote
- name: theme
image: kolaente/yarn
image: kolaente/toolbox
pull: true
group: build-static
commands:
- mkdir docs/themes/vikunja -p
- cd docs/themes/vikunja
- yarn --production=false
- ./node_modules/.bin/gulp prod
- wget https://dl.vikunja.io/theme/vikunja-theme.tar.gz
- tar -xzf vikunja-theme.tar.gz
- name: build
image: monachus/hugo:v0.54.0