website/.drone.yml
Pierre-Olivier Mercier 7972e28ee2
All checks were successful
continuous-integration/drone/push Build is passing
Publish on s3
2022-01-18 08:12:49 +01:00

36 lines
595 B
YAML

---
kind: pipeline
type: docker
name: default
platform:
os: linux
arch: arm64
steps:
- name: build
image: plugins/hugo
settings:
hugo_version: 0.70.0
validate: true
- name: publish on s3
image: plugins/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: /${DRONE_BRANCH//\//-}
trigger:
event:
- cron
- push
- tag