Add `--minify` option to `.drone.yml`.
This commit is contained in:
parent
3923fd264c
commit
bdec22a19a
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue