guide.deuxfleurs.fr/.drone.yml

26 lines
496 B
YAML
Raw Normal View History

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:
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:
from_secret: aws_secret_acess_key
source: public/**/*
target: /
strip_prefix: public/