Fix documentation deploy for stable

This commit is contained in:
rinpatch 2019-10-14 21:53:01 +03:00
parent 442acb31ac
commit dd859e6847
1 changed files with 3 additions and 6 deletions

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: