Merge pull request 'Support `Drone` parallelism.' (#62) from support-drone-parallelism into master

Reviewed-on: #62
This commit is contained in:
Kazuhiro MUSASHI 2021-09-18 13:35:21 +09:00
commit be2e96054d
1 changed files with 3 additions and 0 deletions

View File

@ -28,6 +28,9 @@ steps:
image: alpine:3.9 image: alpine:3.9
commands: 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 %' - 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 - name: housekeep
image: appleboy/drone-ssh image: appleboy/drone-ssh