From b0b0c1f1c235a0f6e2c7f7896b8f33baef0e5fc1 Mon Sep 17 00:00:00 2001 From: Pierre Hubert Date: Tue, 9 May 2023 19:26:16 +0200 Subject: [PATCH] Fix missing environment variables --- .drone.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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