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