Loading before_script.yml +1 −1 Original line number Diff line number Diff line Loading @@ -72,7 +72,7 @@ phpcs_test: - export PROJECT_SERVER="${CI_BUILD_REF_NAME^^}_PROJECT_SERVER" - export PROJECT_SITE="${CI_BUILD_REF_NAME^^}_PROJECT_SITE" - export PROJECT_PORT="${CI_BUILD_REF_NAME^^}_PROJECT_PORT" - export PROJECT_PORT=${PROJECT_PORT:-22} - export PROJECT_PORT=${!PROJECT_PORT:-22} - echo "$PRODUCTION_DEPLOY_KEY" > ~/.ssh/deploy.key - chmod 0400 ~/.ssh/deploy.key - export SSH_OPTS="-o StrictHostKeyChecking=no -o IdentitiesOnly=yes -i $HOME/.ssh/deploy.key -p${!PROJECT_PORT}" Loading Loading
before_script.yml +1 −1 Original line number Diff line number Diff line Loading @@ -72,7 +72,7 @@ phpcs_test: - export PROJECT_SERVER="${CI_BUILD_REF_NAME^^}_PROJECT_SERVER" - export PROJECT_SITE="${CI_BUILD_REF_NAME^^}_PROJECT_SITE" - export PROJECT_PORT="${CI_BUILD_REF_NAME^^}_PROJECT_PORT" - export PROJECT_PORT=${PROJECT_PORT:-22} - export PROJECT_PORT=${!PROJECT_PORT:-22} - echo "$PRODUCTION_DEPLOY_KEY" > ~/.ssh/deploy.key - chmod 0400 ~/.ssh/deploy.key - export SSH_OPTS="-o StrictHostKeyChecking=no -o IdentitiesOnly=yes -i $HOME/.ssh/deploy.key -p${!PROJECT_PORT}" Loading