--- when: - event: - push - manual branch: main steps: - name: build image: ghcr.io/gohugoio/hugo:v0.155.3 commands: - git config --global --add safe.directory /woodpecker/src/git.lahouze.org/alahouze/alexis.lahouze.org - hugo build - name: deploy image: appleboy/drone-scp settings: host: from_secret: SCP_HOST port: 22 user: from_secret: SCP_USER key: from_secret: SCP_SSH_KEY source: public/* target: from_secret: SCP_TARGET rm: true strip_components: 1 # vim: set tw=80 ts=4 sw=4 sts=4 nospell: