Browse Source

Rename steps and add tree step

master
BBaoVanC 3 months ago
parent
commit
decd2209f7
Signed by: bbaovanc GPG Key ID: 18089E4E3CCF1D3A
  1. 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