mirror of
https://git.sr.ht/~ashkeel/strimertul-website
synced 2024-11-21 21:22:21 +00:00
33 lines
673 B
YAML
33 lines
673 B
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
trigger:
|
|
branch:
|
|
- main
|
|
|
|
steps:
|
|
- name: Build
|
|
image: klakegg/hugo:ext-alpine
|
|
commands:
|
|
- hugo version
|
|
- hugo --minify --destination /drone/src/build
|
|
|
|
- name: Upload
|
|
image: plugins/s3
|
|
settings:
|
|
bucket: strimertul-website
|
|
access_key:
|
|
from_secret: minio_access
|
|
secret_key:
|
|
from_secret: minio_secret
|
|
source: /drone/src/build/**/*
|
|
target: /
|
|
strip_prefix: /drone/src/build/
|
|
path_style: true
|
|
endpoint: https://artifacts.fromouter.space
|
|
---
|
|
kind: signature
|
|
hmac: 265b4e1a016720826585f17461a02c671f5a839dd35d098e34b49526a2279a24
|
|
|
|
...
|