website/.drone.yml

24 lines
409 B
YAML
Raw Normal View History

2022-09-25 07:25:11 +00:00
kind: pipeline
2022-09-25 07:23:44 +00:00
steps:
- name: build
2022-09-25 07:34:38 +00:00
image: hugo:latest
volumes:
- name: dist
path: dist/
commands:
- hugo
- name: deploy
image: amazon/aws-cli
environment:
AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY
AWS_DEFAULT_REGION: us-east-1
AWS_SECRET_ACCESS_KEY: $AWS_SECRET
volumes:
- name: dist
path: dist/
commands:
- hugo
- aws s3 sync ./dist s3://conductor.5sigma.io --delete;