diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index eee6f2105..b7260799f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,6 +7,7 @@ variables: stages: - build - push + - ide-deploy - versioning .docker-image: @@ -121,7 +122,6 @@ webide-docker: paths: - webide.tar.gz - webide-push: extends: .docker-image dependencies: @@ -138,6 +138,17 @@ webide-push: - docker tag ligo-editor "${WEBIDE_IMAGE_NAME}:${CI_COMMIT_SHORT_SHA}" - docker push "${WEBIDE_IMAGE_NAME}:${CI_COMMIT_SHORT_SHA}" +deploy-handoff: + # Handoff deployment duties to private repo + stage: ide-deploy + variables: + IDE_DOCKER_IMAGE: "registry.gitlab.com/${CI_PROJECT_PATH}/ligo_webide" + LIGO_COMMIT_REF_NAME: "${CI_COMMIT_SHORT_SHA}" + trigger: ligolang/ligo-webide-deploy + rules: + - if: '$CI_COMMIT_REF_NAME == "dev"' + when: always + static-binary: extends: .nix only: