--- kind: pipeline type: docker name: default steps: - name: deploy image: alpine:3.12 volumes: - name: site path: /var/www/html commands: - apk add --no-cache hugo - hugo - cp -r public/* /var/www/html when: event: - push branch: - main volumes: - name: site host: path: /srv/www/sites/www.franconian.net