website/.drone.yml

25 lines
437 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:36:41 +00:00
image: klakegg/hugo
2022-09-25 07:34:38 +00:00
volumes:
- name: dist
path: dist/
commands:
- hugo
- name: deploy
image: amazon/aws-cli
environment:
2022-09-25 07:42:15 +00:00
AWS_ACCESS_KEY_ID:
from_secret: AWS_ACCESS_KEY
AWS_SECRET_ACCESS_KEY:
from_secret; AWS_SECRET
2022-09-25 07:34:38 +00:00
AWS_DEFAULT_REGION: us-east-1
volumes:
- name: dist
path: dist/
commands:
- aws s3 sync ./dist s3://conductor.5sigma.io --delete;