guide.deuxfleurs.fr/.drone.yml

24 lines
420 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
- apk install zola
- zola build
2023-02-21 17:41:52 +00:00
- name: upload
image: plugins/s3
settings:
bucket: guide
access_key:
from_secret: aws_access_key_id
secret_key:
from_secret: aws_secret_acess_key
source: public/**/*
target: /
strip_prefix: public/