updated .drone.yml
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
9ea5c61198
commit
10e334d38a
@ -1,19 +1,18 @@
|
|||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: default-linux-amd64
|
name: default
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: gohugoio/hugo
|
image: gohugoio/hugo
|
||||||
commands:
|
commands:
|
||||||
- hugo --destination build
|
- /hugo --destination build
|
||||||
- name: archive
|
- name: archive
|
||||||
image: gohugoio/hugo
|
image: alpine
|
||||||
commands:
|
commands:
|
||||||
- cd build
|
- cd build
|
||||||
- tar -czvf website-${DRONE_TAG}.tar.gz .
|
- tar -czvf website-${DRONE_TAG}.tar.gz .
|
||||||
- cd
|
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
- name: release
|
- name: release
|
||||||
|
Loading…
Reference in New Issue
Block a user