diff --git a/.drone.yml b/.drone.yml index 4b2e6b5..c29cd13 100644 --- a/.drone.yml +++ b/.drone.yml @@ -17,11 +17,15 @@ steps: hugo_version: 0.84.4 validate: true pull: always + depends_on: + - update-submodules - name: clean-up-images image: alpine commands: - rm -rf public/images/* + depends_on: + - generate-blog - name: test-build-container image: plugins/docker @@ -37,6 +41,8 @@ steps: purge: false tags: - "${DRONE_COMMIT_SHA:0:8}" + depends_on: + - clean-up-images - name: trivy-scan image: docker.io/aquasec/trivy:latest