aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-10-03 18:48:16 +0300
committerrinpatch <rinpatch@sdf.org>2019-10-03 18:48:16 +0300
commit4b8c9a03f2fd5068d8f92d0a85409f92411a0efc (patch)
treed0be60d6a68d056e7b0682791f666ccb9fb9aaf7 /.gitlab-ci.yml
parent84dbc86624376bb272a7fc1f1cc57a027f1470ce (diff)
CI: trigger doc rebuild on commits to develop
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml11
1 files changed, 11 insertions, 0 deletions
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