From c69daf7d63c441bb90575feffe9fd20ecb04623f Mon Sep 17 00:00:00 2001 From: WinterMyst <22961076-wintermyst@users.noreply.gitlab.com> Date: Sun, 22 Sep 2024 14:11:31 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 32f4638..41cdc88 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -36,6 +36,8 @@ release: - gulp --version # Verify Gulp is installed # Set up SSH agent and add private key for pushing to protected branch - 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )' + - mkdir -p ~/.ssh + - chmod 700 ~/.ssh - echo "$SSH_PRIVATE_KEY_ENCODED" | base64 --decode > ~/.ssh/id_rsa - chmod 600 ~/.ssh/id_rsa - eval $(ssh-agent -s) @@ -102,6 +104,7 @@ release: } } }' + only: master when: manual allow_failure: false artifacts: