diff --git a/.drone.yml b/.drone.yml index ec63e68..d25bd08 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,25 +6,12 @@ steps: image: alpine/git commands: - git submodule update --recursive --init + - name: build image: klakegg/hugo:ext-alpine commands: - hugo-official -- name: deploy - image: appleboy/drone-scp - settings: - host: jcktrue.dk - target: /srv/raid/apps/http/jcktrue.dk/ - source: public/* - strip_components: 1 - username: - from_secret: SSH_USERNAME - password: - from_secret: SSH_PASSWORD - trigger: - when: - branch: - - master + - name: deploy_beta image: appleboy/drone-scp settings: @@ -36,6 +23,7 @@ steps: from_secret: SSH_USERNAME password: from_secret: SSH_PASSWORD + - name: deploy image: appleboy/drone-scp settings: