name: test kind: pipeline type: docker platform: os: linux arch: amd64 steps: - name: clone submodules image: alpine/git:2.40.1 commands: - git submodule update --init --recursive - name: build image: klakegg/hugo:0.111.3-ext-alpine-ci trigger: event: - push - pull_request --- name: deploy to production kind: pipeline type: docker platform: os: linux arch: amd64 steps: - name: clone submodules image: alpine/git:2.40.1 commands: - git submodule update --init --recursive - name: build image: klakegg/hugo:0.111.3-ext-alpine-ci - name: deploy to production image: appleboy/drone-scp settings: host: helene.nick-slowinski.de username: drone_nick-slowinski_de-www key: from_secret: ssh_private_key-drone_nick-slowinski_de-www target: /var/www/nick-slowinski.de/www source: /drone/src/public rm: true overwrite: true strip_components: 3 trigger: event: - promote target: - production