diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 32fbf6e..80125d0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,8 +14,12 @@ build: artifacts: paths: - public + only: + - master deploy: stage: deploy script: - rsync -hrv --delete public/ /var/opt/gitlab-runner/builds/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME/ + only: + - master