From 4b8c9a03f2fd5068d8f92d0a85409f92411a0efc Mon Sep 17 00:00:00 2001 From: rinpatch Date: Thu, 3 Oct 2019 18:48:16 +0300 Subject: [PATCH] CI: trigger doc rebuild on commits to develop --- .gitlab-ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 67824ac3..9d42288e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,6 +7,7 @@ stages: - lint - build - test + - deploy lint: stage: lint @@ -33,3 +34,13 @@ build: artifacts: paths: - dist/ + +docs-deploy: + stage: deploy + image: alpine:latest + only: + - develop@pleroma/pleroma-fe + before_script: + - apk add curl + script: + - curl -X POST -F"token=$DOCS_PIPELINE_TRIGGER" -F'ref=master' https://git.pleroma.social/api/v4/projects/673/trigger/pipeline