stages: - build - deploy build: image: klakegg/hugo:alpine-ci stage: build script: - hugo artifacts: paths: - public expire_in: 1 week deployment: stage: deploy image: minio/mc:latest only: - main before_script: - mc alias set target $S3_HOST $S3_ACCESS_KEY $S3_SECRET_KEY script: <<<<<<< Updated upstream - rsync -rv -e 'ssh -p 18775' --delete ./public/ www-user@janw.name:/var/www/janw.name/ ======= - mc mirror --overwrite public/ target/$S3_BUCKET >>>>>>> Stashed changes