Using standard images
continuous-integration/drone/push Build encountered an error
Details
continuous-integration/drone/push Build encountered an error
Details
This commit is contained in:
parent
b2fbf96f97
commit
c6f13745e9
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