diff options
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 12 |
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}" |