chore: give 'pull' its own pipeline
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2020-07-13 16:30:09 +02:00
parent 694f580997
commit 165cea6f38
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

View File

@ -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