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
|
2023-12-18 11:03:59 +00:00
|
|
|
when:
|
|
|
|
branch:
|
|
|
|
- main
|
2023-02-21 17:41:52 +00:00
|
|
|
image: plugins/s3
|
|
|
|
settings:
|
2023-03-02 12:13:42 +00:00
|
|
|
bucket: guide.deuxfleurs.fr
|
|
|
|
endpoint: https://garage.deuxfleurs.fr
|
2023-02-21 20:21:04 +00:00
|
|
|
region: garage
|
2023-02-21 17:41:52 +00:00
|
|
|
access_key:
|
|
|
|
from_secret: aws_access_key_id
|
|
|
|
secret_key:
|
2023-03-02 12:15:40 +00:00
|
|
|
from_secret: aws_secret_access_key
|
2023-02-21 17:41:52 +00:00
|
|
|
source: public/**/*
|
|
|
|
target: /
|
|
|
|
strip_prefix: public/
|