CI: trigger doc rebuild on commits to develop

This commit is contained in:
rinpatch 2019-10-03 18:48:16 +03:00
parent 84dbc86624
commit 4b8c9a03f2

View file

@ -7,6 +7,7 @@ stages:
- lint - lint
- build - build
- test - test
- deploy
lint: lint:
stage: lint stage: lint
@ -33,3 +34,13 @@ build:
artifacts: artifacts:
paths: paths:
- dist/ - 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