Merge branch 'docs-sync' into 'develop'

CI: trigger doc rebuild on commits to develop

See merge request pleroma/pleroma-fe!964
This commit is contained in:
rinpatch 2019-10-03 16:09:54 +00:00
commit e82405ae35
1 changed files with 11 additions and 0 deletions

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