From d0312f278d72ef640f48a8991d501a083d98295d Mon Sep 17 00:00:00 2001 From: Kazuhiro MUSASHI Date: Sat, 18 Sep 2021 13:31:20 +0900 Subject: [PATCH] Support `Drone` parallelism. --- .drone.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.drone.yml b/.drone.yml index 5b1871e..2ffc410 100644 --- a/.drone.yml +++ b/.drone.yml @@ -28,6 +28,9 @@ steps: image: alpine:3.9 commands: - find public/ -type f | egrep "\.(css|js|png|jpg|html|JPG|PNG|CSS|JS|HTML)$" | xargs -n 1 -i% -P 0 sh -c 'cp % %.bk && gzip % && mv %.bk %' + depends_on: + - generate-ogp-images + - hugo - name: housekeep image: appleboy/drone-ssh