chore: give 'pull' its own pipeline
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
694f580997
commit
165cea6f38
17
.drone.yml
17
.drone.yml
@ -1,7 +1,11 @@
|
|||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: 'build and deploy'
|
name: pull
|
||||||
|
|
||||||
|
clone:
|
||||||
|
disable: true
|
||||||
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: pull
|
- name: pull
|
||||||
@ -11,14 +15,21 @@ steps:
|
|||||||
- uname -r
|
- uname -r
|
||||||
- cat /etc/fedora-release
|
- cat /etc/fedora-release
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: 'build and deploy'
|
||||||
|
|
||||||
|
depends_on:
|
||||||
|
- pull
|
||||||
|
|
||||||
|
steps:
|
||||||
- name: hugo-extended
|
- name: hugo-extended
|
||||||
pull: if-not-exists
|
pull: if-not-exists
|
||||||
image: immawanderer/fedora-hugo:latest
|
image: immawanderer/fedora-hugo:latest
|
||||||
when:
|
when:
|
||||||
status:
|
status:
|
||||||
- success
|
- success
|
||||||
depends_on:
|
|
||||||
- pull
|
|
||||||
commands:
|
commands:
|
||||||
- git submodule init
|
- git submodule init
|
||||||
- git submodule update
|
- git submodule update
|
||||||
|
Loading…
Reference in New Issue
Block a user