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:
|
steps:
|
||||||
|
|
||||||
- name: Version check
|
- name: Version check
|
||||||
image: klakegg/hugo:ext-alpine-ci
|
image: klakegg/hugo:ext-alpine-ci
|
||||||
commands:
|
commands:
|
||||||
- echo "Checking Hugo version."
|
- echo "Checking Hugo version."
|
||||||
- hugo version
|
- hugo version
|
||||||
- hugo mod graph
|
- hugo mod graph
|
||||||
- name: Submodules
|
- name: Submodules
|
||||||
image: alpine/git
|
image: alpine/git
|
||||||
commands:
|
commands:
|
||||||
- git submodule update --init --recursive
|
- git submodule update --init --recursive
|
||||||
- name: Build
|
- name: Build
|
||||||
image: klakegg/hugo:ext-alpine-ci
|
image: klakegg/hugo:ext-alpine-ci
|
||||||
commands:
|
commands:
|
||||||
- hugo --destination /drone/src/build
|
- hugo --destination /drone/src/build
|
||||||
- name: Upload
|
- name: Upload
|
||||||
image: drillster/drone-rsync
|
image: drillster/drone-rsync
|
||||||
commands:
|
commands:
|
||||||
- eval `ssh-agent -s`
|
- eval `ssh-agent -s`
|
||||||
- echo "$SSH_KEY" | ssh-add -
|
- echo "$SSH_KEY" | ssh-add -
|
||||||
- mkdir -p ~/.ssh
|
- mkdir -p ~/.ssh
|
||||||
|
@ -34,3 +34,4 @@ commands:
|
||||||
environment:
|
environment:
|
||||||
SSH_KEY:
|
SSH_KEY:
|
||||||
from_secret: drone_ssh_key
|
from_secret: drone_ssh_key
|
||||||
|
|
Loading…
Reference in a new issue