Limit CI releases to commits to master
All checks were successful
continuous-integration/drone/push Build is passing

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

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