diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7af4325579c11779bf369a2e8d618db70ec94106..ce4e002372b2486828019bea9f74b4003e06c000 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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