fixed indention
This commit is contained in:
parent
455379f71f
commit
a6de57b653
1 changed files with 9 additions and 8 deletions
17
.drone.yml
17
.drone.yml
|
@ -10,22 +10,22 @@ branch:
|
|||
steps:
|
||||
|
||||
- name: Version check
|
||||
image: klakegg/hugo:ext-alpine-ci
|
||||
commands:
|
||||
image: klakegg/hugo:ext-alpine-ci
|
||||
commands:
|
||||
- echo "Checking Hugo version."
|
||||
- hugo version
|
||||
- hugo mod graph
|
||||
- name: Submodules
|
||||
image: alpine/git
|
||||
commands:
|
||||
image: alpine/git
|
||||
commands:
|
||||
- git submodule update --init --recursive
|
||||
- name: Build
|
||||
image: klakegg/hugo:ext-alpine-ci
|
||||
commands:
|
||||
image: klakegg/hugo:ext-alpine-ci
|
||||
commands:
|
||||
- hugo --destination /drone/src/build
|
||||
- name: Upload
|
||||
image: drillster/drone-rsync
|
||||
commands:
|
||||
image: drillster/drone-rsync
|
||||
commands:
|
||||
- eval `ssh-agent -s`
|
||||
- echo "$SSH_KEY" | ssh-add -
|
||||
- mkdir -p ~/.ssh
|
||||
|
@ -34,3 +34,4 @@ commands:
|
|||
environment:
|
||||
SSH_KEY:
|
||||
from_secret: drone_ssh_key
|
||||
|
Loading…
Reference in a new issue