2023-02-21 17:41:52 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
2023-02-21 20:17:36 +00:00
|
|
|
image: alpine:3.17.2
|
2023-02-21 17:41:52 +00:00
|
|
|
commands:
|
2023-02-21 20:17:36 +00:00
|
|
|
- apk update
|
2023-02-21 20:18:55 +00:00
|
|
|
- apk add zola
|
2023-02-21 20:17:36 +00:00
|
|
|
- zola build
|
2023-02-21 17:41:52 +00:00
|
|
|
|
|
|
|
- name: upload
|
|
|
|
image: plugins/s3
|
|
|
|
settings:
|
|
|
|
bucket: guide
|
2023-02-21 20:21:04 +00:00
|
|
|
endpoint: http://s3.vimaire.machine.dufour.io
|
|
|
|
region: garage
|
2023-02-21 17:41:52 +00:00
|
|
|
access_key:
|
|
|
|
from_secret: aws_access_key_id
|
|
|
|
secret_key:
|
|
|
|
from_secret: aws_secret_acess_key
|
|
|
|
source: public/**/*
|
|
|
|
target: /
|
|
|
|
strip_prefix: public/
|