tylerperkins.xyz/.drone.yml
Tyler Perkins 6e08d0e748
Some checks failed
continuous-integration/drone/push Build is failing
Update pipeline remove hugo version
2023-09-13 22:14:22 -04:00

24 lines
634 B
YAML

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:
- aws s3 rm s3://clortox.com --recursive --endpoint-url $AWS_S3_ENDPOINT
- aws s3 cp public s3://clortox.com/ --recursive --endpoint-url $AWS_S3_ENDPOINT