--- kind: pipeline type: ssh name: production trigger: branch: - main server: host: homelab-blog.lan user: root ssh_key: from_secret: ssh_key steps: - name: initialize commands: - git submodule update --init - hugo version # - ln -s /home/hebron/hugo_resources/production resources - name: build commands: - hugo --gc --minify -b https://blog.broillet.ch/ - name: copy built website commands: - cp -R public/ /var/www/html/blog/