Skip to content
Snippets Groups Projects
Commit d4544305 authored by Bastien Abadie's avatar Bastien Abadie
Browse files

Publish openapi schema on an S3 bucket

parent e8d61486
No related branches found
No related tags found
1 merge request!862Publish openapi schema on an S3 bucket
......@@ -171,6 +171,23 @@ backend-static-deploy:
script:
- ci/static-deploy.sh
backend-openapi-deploy:
stage: deploy
# Run on master updates only
only:
- master
# Ensure artifacts are available
dependencies:
- backend-openapi
before_script:
- pip install awscli
script:
- aws s3 cp output/schema.yml s3://teklia-assets-release/arkindex/openapi.yml
sentry-release:
image: getsentry/sentry-cli
stage: deploy
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment