Limit CI releases to commits to master
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
737a1a380b
commit
533d45f254
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue