ci: update submodules in a separate step
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
also, tweak step dependency graph a little
This commit is contained in:
parent
96d9de7e7f
commit
84c5353208
29
.drone.yml
29
.drone.yml
@ -12,8 +12,17 @@ trigger:
|
||||
event: [push, pull_request]
|
||||
|
||||
steps:
|
||||
- name: submodules
|
||||
pull: always
|
||||
depends_on: [clone]
|
||||
image: alpine/git
|
||||
commands:
|
||||
- git --version
|
||||
- git submodule update --init --recursive
|
||||
|
||||
- name: pull fedora-hugo
|
||||
pull: always
|
||||
depends_on: [clone]
|
||||
image: immawanderer/fedora-hugo:linux-amd64
|
||||
commands:
|
||||
- uname -r
|
||||
@ -21,12 +30,11 @@ steps:
|
||||
|
||||
- name: hugo-extended
|
||||
pull: if-not-exists
|
||||
depends-on:
|
||||
depends_on:
|
||||
- submodules
|
||||
- pull fedora-hugo
|
||||
image: immawanderer/fedora-hugo:linux-amd64
|
||||
commands:
|
||||
- git submodule init
|
||||
- git submodule update
|
||||
- hugo version
|
||||
- hugo --gc=true --minify
|
||||
|
||||
@ -57,6 +65,14 @@ depends_on:
|
||||
- build
|
||||
|
||||
steps:
|
||||
- name: submodules
|
||||
pull: always
|
||||
depends_on: [clone]
|
||||
image: alpine/git
|
||||
commands:
|
||||
- git --version
|
||||
- git submodule update --init --recursive
|
||||
|
||||
- name: pull fedora-hugo
|
||||
pull: always
|
||||
depends_on: [clone]
|
||||
@ -75,13 +91,11 @@ steps:
|
||||
|
||||
- name: hugo-extended
|
||||
pull: if-not-exists
|
||||
depends-on:
|
||||
depends_on:
|
||||
- submodules
|
||||
- pull fedora-hugo
|
||||
- pull tmaier/docker-compose
|
||||
image: immawanderer/fedora-hugo:linux-amd64
|
||||
commands:
|
||||
- git submodule init
|
||||
- git submodule update
|
||||
- hugo version
|
||||
- hugo --gc=true --minify
|
||||
|
||||
@ -97,6 +111,7 @@ steps:
|
||||
pull: always
|
||||
image: tmaier/docker-compose:latest
|
||||
depends_on:
|
||||
- pull tmaier/docker-compose
|
||||
- rm-intermediate
|
||||
volumes:
|
||||
- name: s
|
||||
|
Loading…
Reference in New Issue
Block a user