Browse Source

Added deployment dependency

master
Drew Short 6 years ago
parent
commit
ad15df3e94
  1. 2
      .gitlab-ci.yml

2
.gitlab-ci.yml

@ -36,6 +36,8 @@ deploy-website:
- rsync -avz --delete-delay -e "ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -p $DEPLOY_PORT" --progress /tmp/deploy/* $DEPLOY_USER@$DEPLOY_HOST:$TARGET_DIRECTORY - rsync -avz --delete-delay -e "ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -p $DEPLOY_PORT" --progress /tmp/deploy/* $DEPLOY_USER@$DEPLOY_HOST:$TARGET_DIRECTORY
only: only:
- master - master
dependencies:
- build-website
tags: tags:
- docker - docker
environment: production environment: production