Rename steps and add tree step
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
BBaoVanC 2021-04-18 15:21:40 -05:00
parent adf52c8498
commit decd2209f7
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A

View File

@ -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