Fix missing environment variables
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
3c34bb9962
commit
b0b0c1f1c2
10
.drone.yml
10
.drone.yml
@ -16,6 +16,12 @@ steps:
|
||||
|
||||
- name: doc
|
||||
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:
|
||||
# Build website
|
||||
- pip install mkdocs-material
|
||||
@ -26,8 +32,4 @@ steps:
|
||||
- ./aws/install
|
||||
- aws configure set default.s3.signature_version s3v4
|
||||
# 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
|
Loading…
Reference in New Issue
Block a user