1
0
Fork 0
mirror of https://framagit.org/framasoft/mobilizon.git synced 2024-12-22 16:03:25 +00:00

Fix Gitlab-ci

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-06-21 11:41:45 +02:00
parent 51b5108639
commit a9199dc20d
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -214,7 +214,7 @@ build-docker-master:
build-docker-tag:
<<: *docker
rules:
rules: &tag-rules
- if: '$CI_PROJECT_NAMESPACE != "framasoft"'
when: never
- if: $CI_COMMIT_TAG
@ -253,16 +253,7 @@ package-app-dev:
release-upload:
stage: upload
image: framasoft/yakforms-assets-deploy:latest
rules:
- if: '$CI_PROJECT_NAMESPACE != "framasoft"'
when: never
- if: $CI_COMMIT_TAG
only:
variables:
- $CI_COMMIT_TAG
- $DEPLOYEMENT_KEY
- $DEPLOYEMENT_USER
- $DEPLOYEMENT_HOST
rules: *tag-rules
script:
- APP_VERSION="${CI_COMMIT_TAG}"
- APP_ASSET="${CI_PROJECT_NAME}_${APP_VERSION}_${ARCH}.tar.gz"
@ -283,10 +274,7 @@ release-upload:
release-create:
stage: deploy
image: registry.gitlab.com/gitlab-org/release-cli:latest
rules:
- if: '$CI_PROJECT_NAMESPACE != "framasoft"'
when: never
- if: $CI_COMMIT_TAG
rules: *tag-rules
before_script:
- apk --no-cache add awk sed grep
script: |