kind: pipeline name: publish steps: - name: submodules image: alpine/git commands: - git submodule update --init --recursive - name: build image: code.ndumas.com/ndumas/drone-hugo:latest commands: - hugo - name: publish image: drillster/drone-rsync settings: key: from_secret: blog_sync_key user: blog delete: true recursive: true hosts: ["blog.ndumas.com"] source: ./public/ target: /var/www/blog.ndumas.com/ include: ["*"]