Limit CI to master

main
Marc Riera Irigoyen 2020-06-28 20:32:15 +02:00
parent cae595f6ea
commit 271e83b84a
1 changed files with 4 additions and 0 deletions

View File

@ -14,8 +14,12 @@ build:
artifacts: artifacts:
paths: paths:
- public - public
only:
- master
deploy: deploy:
stage: deploy stage: deploy
script: script:
- rsync -hrv --delete public/ /var/opt/gitlab-runner/builds/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME/ - rsync -hrv --delete public/ /var/opt/gitlab-runner/builds/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME/
only:
- master