Compare commits
2 Commits
8d1b21eb1d
...
c6f13745e9
Author | SHA1 | Date |
---|---|---|
Joe Bellus | c6f13745e9 | |
Joe Bellus | b2fbf96f97 |
23
.drone.yml
23
.drone.yml
|
@ -2,7 +2,22 @@ kind: pipeline
|
|||
|
||||
steps:
|
||||
- name: build
|
||||
image: plugins/hugo
|
||||
settings:
|
||||
hugo_version: 0.55
|
||||
validate: true
|
||||
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