Add `--minify` option to `.drone.yml`.

This commit is contained in:
Kazuhiro MUSASHI 2020-04-18 23:04:04 +08:00
parent 3923fd264c
commit bdec22a19a
1 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ steps:
- name: hugo - name: hugo
image: cibuilds/hugo:0.69.0 image: cibuilds/hugo:0.69.0
commands: commands:
- sudo hugo -e production -v -s . - sudo hugo -e production -v -s --minify .
- name: Compress-the-Assets - name: Compress-the-Assets
image: alpine:3.9 image: alpine:3.9
@ -66,7 +66,7 @@ steps:
- name: hugo - name: hugo
image: cibuilds/hugo:0.69.0 image: cibuilds/hugo:0.69.0
commands: commands:
- sudo hugo -e staging -v -s . - sudo hugo -e staging -v -s --minify .
- name: Compress-the-Assets - name: Compress-the-Assets
image: alpine:3.9 image: alpine:3.9