1
0
Fork 0

Add CI
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Hamcha 2022-06-29 11:51:07 +02:00
parent f3387f5d44
commit ac75389434
Signed by: hamcha
GPG key ID: 1669C533B8CF6D89
2 changed files with 38 additions and 0 deletions

37
.drone.yml Normal file
View file

@ -0,0 +1,37 @@
---
kind: pipeline
type: docker
name: default
trigger:
branch:
- master
steps:
- name: Version check
image: jguyomard/hugo-builder
commands:
- echo "Checking Hugo version."
- hugo version
- name: Build
image: jguyomard/hugo-builder
commands:
- hugo --destination /drone/src/build
- minify -r -o /drone/src/build /drone/src/build
- name: Upload
image: plugins/s3
settings:
bucket: faulty.equipment
access_key:
from_secret: minio_access
secret_key:
from_secret: minio_secret
source: /drone/src/build/**/*
target: /
strip_prefix: /drone/src/build/
path_style: true
endpoint: https://artifacts.fromouter.space
---
kind: signature
hmac: 289f9049539d55f3ba20341002e50321e098c8618f8fa1dbd50bd204f68563cd

1
README.md Normal file
View file

@ -0,0 +1 @@
[![Build Status](https://ci.fromouter.space/api/badges/Hamcha/faulty.equipment/status.svg)](https://ci.fromouter.space/Hamcha/faulty.equipment)