This commit is contained in:
parent
ac75389434
commit
d42809bb0f
1 changed files with 4 additions and 10 deletions
14
.drone.yml
14
.drone.yml
|
@ -7,17 +7,11 @@ trigger:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Version check
|
|
||||||
image: jguyomard/hugo-builder
|
|
||||||
commands:
|
|
||||||
- echo "Checking Hugo version."
|
|
||||||
- hugo version
|
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
image: jguyomard/hugo-builder
|
image: klakegg/hugo
|
||||||
commands:
|
commands:
|
||||||
- hugo --destination /drone/src/build
|
- hugo version
|
||||||
- minify -r -o /drone/src/build /drone/src/build
|
- hugo --minify --destination /drone/src/build
|
||||||
|
|
||||||
- name: Upload
|
- name: Upload
|
||||||
image: plugins/s3
|
image: plugins/s3
|
||||||
|
@ -34,4 +28,4 @@ steps:
|
||||||
endpoint: https://artifacts.fromouter.space
|
endpoint: https://artifacts.fromouter.space
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 289f9049539d55f3ba20341002e50321e098c8618f8fa1dbd50bd204f68563cd
|
hmac: 39e2a2faa6d72e835ac520398a06f01501a839f121bf7c6b0dc78fc0b1f9de4d
|
||||||
|
|
Loading…
Reference in a new issue