Merge branch 'stable-fix-docs' into 'stable'

Fix documentation deploy for stable

See merge request pleroma/pleroma!1844
This commit is contained in:
rinpatch 2019-10-14 18:55:09 +00:00
commit 988654a720

View file

@ -30,12 +30,11 @@ build:
docs-build: docs-build:
stage: build stage: build
only: only: &docs-only
- master@pleroma/pleroma - stable@pleroma/pleroma
- develop@pleroma/pleroma - develop@pleroma/pleroma
variables: variables:
MIX_ENV: dev MIX_ENV: dev
PLEROMA_BUILD_ENV: prod
script: script:
- mix deps.get - mix deps.get
- mix compile - mix compile
@ -86,9 +85,7 @@ analysis:
docs-deploy: docs-deploy:
stage: deploy stage: deploy
image: alpine:3.9 image: alpine:3.9
only: only: *docs-only
- stable@pleroma/pleroma
- develop@pleroma/pleroma
before_script: before_script:
- apk update && apk add openssh-client rsync - apk update && apk add openssh-client rsync
script: script: