fixed indention

This commit is contained in:
Stefan H. 2023-02-05 22:24:30 +01:00
parent 455379f71f
commit a6de57b653

View file

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