25 lines
489 B
YAML
25 lines
489 B
YAML
---
|
|
kind: pipeline
|
|
name: default
|
|
|
|
steps:
|
|
- name: build
|
|
image: alpine:3.17.2
|
|
commands:
|
|
- apk update
|
|
- apk add zola
|
|
- zola build
|
|
|
|
- name: upload
|
|
image: plugins/s3
|
|
settings:
|
|
bucket: guide
|
|
endpoint: http://s3.vimaire.machine.dufour.io
|
|
region: garage
|
|
access_key:
|
|
from_secret: aws_access_key_id
|
|
secret_key:
|
|
from_secret: aws_secret_acess_key
|
|
source: public/**/*
|
|
target: /
|
|
strip_prefix: public/
|