2.0 Refactor #1
22
.drone.yml
22
.drone.yml
|
@ -2,6 +2,22 @@ kind: pipeline
|
|||
|
||||
steps:
|
||||
- name: build
|
||||
image: plugins/hugo
|
||||
settings:
|
||||
hugo_version: 0.55
|
||||
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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue