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
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

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