diff --git a/.drone.yml b/.drone.yml index 9cfe2f9..64e2f56 100644 --- a/.drone.yml +++ b/.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 + \ No newline at end of file