2.0 Refactor #1
22
.drone.yml
22
.drone.yml
|
@ -2,6 +2,22 @@ kind: pipeline
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: plugins/hugo
|
image: hugo:latest
|
||||||
settings:
|
volumes:
|
||||||
hugo_version: 0.55
|
- 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