tylerperkins.xyz/.drone.yml

35 lines
940 B
YAML
Raw Normal View History

2023-09-08 23:04:51 +00:00
kind: pipeline
type: docker
name: build-and-deploy
steps:
- name: build
image: plugins/hugo
settings:
extended: true
validate: true
- name: upload-to-minio
image: amazon/aws-cli
environment:
AWS_ACCESS_KEY_ID:
from_secret: minio_access_key
AWS_SECRET_ACCESS_KEY:
from_secret: minio_secret_access_key
AWS_DEFAULT_REGION: gluttony
AWS_S3_ENDPOINT: https://gluttony.s3.clortox.com/
commands:
2023-09-08 23:12:31 +00:00
- aws s3 rm s3://clortox.com --recursive --endpoint-url $AWS_S3_ENDPOINT
2023-09-08 23:10:14 +00:00
- aws s3 cp public s3://clortox.com/ --recursive --endpoint-url $AWS_S3_ENDPOINT
2023-09-20 01:24:21 +00:00
- name: notify
image: clortox/drone-ntfy
settings:
URL: https://ntfy.clortox.com
USERNAME: drone
PASSWORD:
from_secret: ntfy_password
TOPIC: drone-builds
MESSAGE: clortox.com has deployed!
CLICK: https://www.clortox.com/
TITLE: Website Deploymen
2023-09-08 23:04:51 +00:00