This commit is contained in:
parent
10e334d38a
commit
1ea0209a3d
@ -6,13 +6,11 @@ name: default
|
|||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: gohugoio/hugo
|
image: gohugoio/hugo
|
||||||
commands:
|
|
||||||
- /hugo --destination build
|
|
||||||
- name: archive
|
- name: archive
|
||||||
image: alpine
|
image: alpine
|
||||||
commands:
|
commands:
|
||||||
- cd build
|
- cd public
|
||||||
- tar -czvf website-${DRONE_TAG}.tar.gz .
|
- tar -czvf ../website-${DRONE_TAG}.tar.gz .
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
- name: release
|
- name: release
|
||||||
|
Loading…
Reference in New Issue
Block a user