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
|
||||
type: docker
|
||||
name: 'build and deploy'
|
||||
name: pull
|
||||
|
||||
clone:
|
||||
disable: true
|
||||
|
||||
|
||||
steps:
|
||||
- name: pull
|
||||
@ -11,14 +15,21 @@ steps:
|
||||
- uname -r
|
||||
- cat /etc/fedora-release
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: 'build and deploy'
|
||||
|
||||
depends_on:
|
||||
- pull
|
||||
|
||||
steps:
|
||||
- name: hugo-extended
|
||||
pull: if-not-exists
|
||||
image: immawanderer/fedora-hugo:latest
|
||||
when:
|
||||
status:
|
||||
- success
|
||||
depends_on:
|
||||
- pull
|
||||
commands:
|
||||
- git submodule init
|
||||
- git submodule update
|
||||
|
Loading…
Reference in New Issue
Block a user