This commit is contained in:
parent
f3387f5d44
commit
ac75389434
2 changed files with 38 additions and 0 deletions
37
.drone.yml
Normal file
37
.drone.yml
Normal 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
1
README.md
Normal file
|
@ -0,0 +1 @@
|
|||
[![Build Status](https://ci.fromouter.space/api/badges/Hamcha/faulty.equipment/status.svg)](https://ci.fromouter.space/Hamcha/faulty.equipment)
|
Loading…
Reference in a new issue