Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hörist <philipp@hoerist.com>2023-01-14 17:17:09 +0300
committerPhilipp Hörist <philipp@hoerist.com>2023-01-14 17:17:09 +0300
commitb79a219d0975ca5a322c1a754901b290facacc89 (patch)
tree2c36efe223b19ee026da612b655fcb76dbbfe0df /.gitlab-ci.yml
parentf5c36b360698b20600aecfdc09bb4890b215d71f (diff)
ci: Execute release in a separate step
So that if it fails the website publishing does not fail
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml12
1 files changed, 10 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 864543b43..fc2f04f86 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -146,7 +146,7 @@ deploy-flatpak:
- git commit -m "$CI_COMMIT_TAG"
- git push
-publish-release:
+publish-website:
image: git-deploy:latest
stage: publish
dependencies: []
@@ -156,7 +156,6 @@ publish-release:
- eval $(ssh-agent -s)
- .ci/prepare_git.sh dev.gajim.org "${WEBSITE_DEPLOY_KEY}"
script:
- - .ci/make_release.py $CI_COMMIT_TAG "${PROJECT_TOKEN}"
- git clone git@dev.gajim.org:gajim/website.git
- cd website
- git checkout master
@@ -165,3 +164,12 @@ publish-release:
- git add -u
- git commit -m "Release Gajim $CI_COMMIT_TAG"
- git push
+
+publish-release:
+ image: git-deploy:latest
+ stage: publish
+ dependencies: []
+ rules:
+ - if: '$CI_COMMIT_TAG'
+ script:
+ - .ci/make_release.py $CI_COMMIT_TAG "${PROJECT_TOKEN}"