Rename steps and add tree step
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
adf52c8498
commit
decd2209f7
12
.drone.yml
12
.drone.yml
@ -11,18 +11,24 @@ trigger:
|
|||||||
- pull_request
|
- pull_request
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Update submodules
|
- name: submodules
|
||||||
image: alpine/git
|
image: alpine/git
|
||||||
commands:
|
commands:
|
||||||
- git submodule update --init --recursive
|
- git submodule update --init --recursive
|
||||||
|
|
||||||
- name: Build site
|
- name: build
|
||||||
image: mapitman/docker-hugo
|
image: mapitman/docker-hugo
|
||||||
commands:
|
commands:
|
||||||
- hugo version
|
- hugo version
|
||||||
- hugo --minify
|
- hugo --minify
|
||||||
|
|
||||||
- name: Upload files
|
- name: tree
|
||||||
|
image: alpine:latest
|
||||||
|
commands:
|
||||||
|
- apk add tree
|
||||||
|
- tree -a public/
|
||||||
|
|
||||||
|
- name: upload
|
||||||
image: appleboy/drone-scp
|
image: appleboy/drone-scp
|
||||||
settings:
|
settings:
|
||||||
host: bbaovanc.com
|
host: bbaovanc.com
|
||||||
|
Reference in New Issue
Block a user