Switch building the docs to download the theme instead of building
This commit is contained in:
parent
43cb7f1fc2
commit
4504499f60
1 changed files with 4 additions and 9 deletions
13
.drone1.yml
13
.drone1.yml
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue