kind: pipeline type: docker name: default steps: - name: submodules image: alpine/git commands: - git submodule update --init --recursive - name: build image: klakegg/hugo:ext-ci commands: - cd themes/anakne && npm i && cd - - hugo --gc --minify --environment production - name: deploy image: appleboy/drone-scp settings: host: "10.0.2.1" target: /mnt/volume1/shares/www/richard-dern.fr/www/ source: public/* username: from_secret: ssh_user password: from_secret: ssh_password trigger: branch: - master