Support `Drone` parallelism.

This commit is contained in:
Kazuhiro MUSASHI 2021-09-18 13:31:20 +09:00 committed by Gitea
parent e955cc3f04
commit d0312f278d
1 changed files with 3 additions and 0 deletions

View File

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