Update .gitlab-ci.yml file

This commit is contained in:
WinterMyst 2024-09-22 14:52:24 +00:00
parent 528290f27b
commit 94af26f3d3

View File

@ -34,16 +34,6 @@ release:
# Install Gulp globally # Install Gulp globally
- npm install --global gulp-cli - npm install --global gulp-cli
- gulp --version # Verify Gulp is installed - 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" | tr -d '\n' | base64 -di > ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa
- eval $(ssh-agent -s)
- ssh-add ~/.ssh/id_rsa
- mkdir -p ~/.ssh
- ssh-keyscan gitlab.com >> ~/.ssh/known_hosts
script: script:
# Check if VERSION is provided # Check if VERSION is provided
- | - |