website/.woodpecker.yaml

20 lines
471 B
YAML

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