2020-11-23 12:05:09 +00:00
|
|
|
clone:
|
2023-10-27 19:43:03 +00:00
|
|
|
git:
|
|
|
|
image: woodpeckerci/plugin-git
|
|
|
|
settings:
|
|
|
|
recursive: true
|
2020-11-23 12:05:09 +00:00
|
|
|
|
|
|
|
steps:
|
2023-10-27 19:43:03 +00:00
|
|
|
build:
|
2024-01-12 11:55:31 +00:00
|
|
|
image: registry.nemunai.re/plugins/hugo
|
2020-11-23 12:05:09 +00:00
|
|
|
settings:
|
2024-01-12 11:55:31 +00:00
|
|
|
hugo_version: 0.121.0
|
2020-11-23 12:05:09 +00:00
|
|
|
|
2023-10-27 19:43:03 +00:00
|
|
|
publish-on-s3:
|
2022-01-18 07:04:35 +00:00
|
|
|
image: plugins/s3
|
2020-11-23 12:05:09 +00:00
|
|
|
settings:
|
2022-01-18 07:04:35 +00:00
|
|
|
endpoint: https://storage.nemunai.re
|
|
|
|
path_style: true
|
|
|
|
bucket: happydomain-help
|
|
|
|
access_key:
|
|
|
|
from_secret: s3_access_key
|
|
|
|
secret_key:
|
|
|
|
from_secret: s3_secret_key
|
|
|
|
source: public/**/*
|
|
|
|
strip_prefix: public/
|
2023-10-27 19:43:03 +00:00
|
|
|
target: "/${CI_COMMIT_BRANCH//\\//-}"
|