Loading before_script.yml +10 −0 Original line number Diff line number Diff line Loading @@ -48,3 +48,13 @@ variables: - export SSH_OPTS="-o StrictHostKeyChecking=no -o IdentitiesOnly=yes -i $HOME/.ssh/deploy.key -p ${!PROJECT_PORT:-22}" - echo $SSH_OPTS script: [] workflow: rules: - if: $CI_COMMIT_REF_NAME == "beta" variables: ENVIRONMENT_NAME: staging - if: $CI_COMMIT_REF_NAME == "master" variables: ENVIRONMENT_NAME: production - when: always Loading
before_script.yml +10 −0 Original line number Diff line number Diff line Loading @@ -48,3 +48,13 @@ variables: - export SSH_OPTS="-o StrictHostKeyChecking=no -o IdentitiesOnly=yes -i $HOME/.ssh/deploy.key -p ${!PROJECT_PORT:-22}" - echo $SSH_OPTS script: [] workflow: rules: - if: $CI_COMMIT_REF_NAME == "beta" variables: ENVIRONMENT_NAME: staging - if: $CI_COMMIT_REF_NAME == "master" variables: ENVIRONMENT_NAME: production - when: always