kind: pipeline type: docker name: default steps: - name: submodules image: alpine/git commands: - cd themes - git submodule update --init --recursive #- git submodule update --force --recursive --init --remote - name: build image: klakegg/hugo:ext-ci commands: #- cd themes/hugo-resume # && npm i && cd - - hugo --gc --minify --environment production - name: deploy image: appleboy/drone-scp settings: host: "74.208.179.53" target: - /var/www/html/nicktrimborn.de/public_html/ source: - public/* username: from_secret: webserver_username password: from_secret: webserver_password trigger: event: include: - push - pull_request