diff --git a/.drone.yml b/.drone.yml index 51573c6..2d3b44c 100644 --- a/.drone.yml +++ b/.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 \ No newline at end of file