Philipp Hörist pushed to branch master at gajim / gajim
Commits: d261cbf7 by lovetox at 2022-06-01T22:44:20+02:00 ci: Update gitlab-ci.yml
Make sure ssh-agent is running and chmod .ssh
- - - - -
1 changed file:
- .gitlab-ci.yml
Changes:
===================================== .gitlab-ci.yml ===================================== @@ -118,8 +118,10 @@ deploy-flatpak: rules: - if: '$CI_COMMIT_TAG' before_script: + - eval $(ssh-agent -s) # - echo "${FLATHUB_DEPLOY_KEY}" | tr -d '\r' | ssh-add - > /dev/null - mkdir -p ~/.ssh + - chmod 700 ~/.ssh - ssh-keyscan github.com >> ~/.ssh/known_hosts script: - git config user.email "$CI_GIT_USER_EMAIL" @@ -139,8 +141,10 @@ publish-release: rules: - if: '$CI_COMMIT_TAG' before_script: + - eval $(ssh-agent -s) - echo "${WEBSITE_DEPLOY_KEY}" | tr -d '\r' | ssh-add - > /dev/null - mkdir -p ~/.ssh + - chmod 700 ~/.ssh - ssh-keyscan dev.gajim.org >> ~/.ssh/known_hosts script: - git config --global user.email "$CI_GIT_USER_EMAIL"
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/d261cbf709f6a1cbc6c8732e08ad5a599...