blog/.woodpecker.yaml
Pierre-Olivier Mercier 658ec328a8
All checks were successful
ci/woodpecker/cron/woodpecker Pipeline was successful
CI: Migrate to Woodpecker
2023-10-27 13:23:26 +02:00

27 lines
543 B
YAML

clone:
git:
image: woodpeckerci/plugin-git
settings:
recursive: true
steps:
build:
image: plugins/hugo
settings:
hugo_version: 0.84.4
validate: true
publish-on-s3:
image: plugins/s3
settings:
endpoint: https://storage.nemunai.re
path_style: true
bucket: happydomain-blog
access_key:
from_secret: s3_access_key
secret_key:
from_secret: s3_secret_key
source: public/**/*
strip_prefix: public/
target: "/${CI_COMMIT_BRANCH//\\//-}"