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
|
||||
|
||||
steps:
|
||||
- name: Update submodules
|
||||
- name: submodules
|
||||
image: alpine/git
|
||||
commands:
|
||||
- git submodule update --init --recursive
|
||||
|
||||
- name: Build site
|
||||
- name: build
|
||||
image: mapitman/docker-hugo
|
||||
commands:
|
||||
- hugo version
|
||||
- hugo --minify
|
||||
|
||||
- name: Upload files
|
||||
- name: tree
|
||||
image: alpine:latest
|
||||
commands:
|
||||
- apk add tree
|
||||
- tree -a public/
|
||||
|
||||
- name: upload
|
||||
image: appleboy/drone-scp
|
||||
settings:
|
||||
host: bbaovanc.com
|
||||
|
Reference in New Issue
Block a user