Fix documentation deploy for stable
authorrinpatch <rinpatch@sdf.org>
Mon, 14 Oct 2019 18:53:01 +0000 (21:53 +0300)
committerrinpatch <rinpatch@sdf.org>
Mon, 14 Oct 2019 18:54:13 +0000 (21:54 +0300)
.gitlab-ci.yml

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