Add website #2

Merged
pierre merged 6 commits from doc into master 2023-05-09 17:44:15 +00:00
Showing only changes of commit b0b0c1f1c2 - Show all commits

View File

@ -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