Commit 032075f9 authored by Ilya Rassadin's avatar Ilya Rassadin
Browse files

set up environment in .before_deploy_code

parent 5602c9ac
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -31,6 +31,9 @@ variables:

.before_deploy_code:
  stage: deploy
  environment:
    url: https://${!PROJECT_SITE}
    name: $ENVIRONMENT_NAME
  before_script:
  - source $CI_PROJECT_DIR/.env.project
  - mkdir -p ~/.ssh