Add website #2
10
.drone.yml
10
.drone.yml
@ -16,6 +16,12 @@ steps:
|
|||||||
|
|
||||||
- name: doc
|
- name: doc
|
||||||
image: python
|
image: python
|
||||||
|
environment:
|
||||||
|
AWS_ACCESS_KEY_ID:
|
||||||
|
from_secret: AWS_ACCESS_KEY_ID
|
||||||
|
AWS_SECRET_ACCESS_KEY:
|
||||||
|
from_secret: AWS_SECRET_ACCESS_KEY
|
||||||
|
AWS_DEFAULT_REGION: us-east-1
|
||||||
commands:
|
commands:
|
||||||
# Build website
|
# Build website
|
||||||
- pip install mkdocs-material
|
- pip install mkdocs-material
|
||||||
@ -26,8 +32,4 @@ steps:
|
|||||||
- ./aws/install
|
- ./aws/install
|
||||||
- aws configure set default.s3.signature_version s3v4
|
- aws configure set default.s3.signature_version s3v4
|
||||||
# Upload to bucket
|
# Upload to bucket
|
||||||
# Note: the following environment variable are required:
|
|
||||||
# - AWS_ACCESS_KEY_ID
|
|
||||||
# - AWS_SECRET_ACCESS_KEY
|
|
||||||
# - AWS_DEFAULT_REGION
|
|
||||||
- cd public && aws --endpoint-url https://s3.communiquons.org s3 sync . s3://miniok8sbucketsoperator-website
|
- cd public && aws --endpoint-url https://s3.communiquons.org s3 sync . s3://miniok8sbucketsoperator-website
|
Loading…
Reference in New Issue
Block a user