kind: pipeline name: default steps: - name: requirements image: alpine/git commands: - git submodule update --recursive --init - name: build image: klakegg/hugo:ext-alpine commands: - hugo-official --minify --gc --cleanDestinationDir - name: deploy_beta image: appleboy/drone-scp settings: host: jcktrue.dk target: /home/jct/apps/http/beta.jcktrue.dk/ source: public/* strip_components: 1 username: from_secret: SSH_USERNAME password: from_secret: SSH_PASSWORD - name: deploy image: appleboy/drone-scp settings: host: jcktrue.dk target: /home/jct/apps/http/jcktrue.dk/ source: public/* strip_components: 1 username: from_secret: SSH_USERNAME password: from_secret: SSH_PASSWORD when: branch: include: - master