mirror of
https://github.com/cchuster/connerchu.com
synced 2024-11-01 05:23:29 +00:00
31 lines
616 B
YAML
31 lines
616 B
YAML
labels:
|
|
platform: linux/amd64
|
|
|
|
steps:
|
|
build:
|
|
image: hugomods/hugo:go-git
|
|
commands:
|
|
- hugo
|
|
- tar czvf site.tar.gz public/
|
|
|
|
upload:
|
|
image: plugins/s3
|
|
settings:
|
|
endpoint: https://api.minio.elara.ws
|
|
path_style: true
|
|
bucket: connerchu.com
|
|
access_key: AkdgUdmzEJBoiYa2
|
|
secret_key:
|
|
from_secret: minio_secret_key
|
|
source: site.tar.gz
|
|
target: /
|
|
|
|
deploy:
|
|
image: loq9/drone-nomad
|
|
settings:
|
|
addr: http://192.168.100.62:4646
|
|
template: template.nomad
|
|
watch_deployment: true
|
|
watch_deployment_timeout: 10m
|
|
|