Limit CI releases to commits to master

This commit is contained in:
Jesper Hess 2019-03-03 15:14:42 +01:00
parent 737a1a380b
commit 533d45f254
Signed by untrusted user: graffen
GPG Key ID: 351A89E40D763F0F
1 changed files with 6 additions and 3 deletions

View File

@ -1,14 +1,14 @@
pipeline:
build_website:
build:
image: ruby
commands:
- gem install bundler
- bundle install
- bundle exec jekyll build
docker_build:
docker:
image: plugins/docker
repo: docker.data.coop/data-coop-website-test
repo: docker.data.coop/data-coop-website
registry: docker.data.coop
secrets: [DOCKER_USERNAME, DOCKER_PASSWORD]
username:
@ -18,3 +18,6 @@ pipeline:
tag:
- "${DRONE_BUILD_NUMBER}"
- "latest"
when:
branch:
- master