forked from data.coop/website
Limit CI releases to commits to master
This commit is contained in:
parent
737a1a380b
commit
533d45f254
|
@ -1,14 +1,14 @@
|
||||||
pipeline:
|
pipeline:
|
||||||
build_website:
|
build:
|
||||||
image: ruby
|
image: ruby
|
||||||
commands:
|
commands:
|
||||||
- gem install bundler
|
- gem install bundler
|
||||||
- bundle install
|
- bundle install
|
||||||
- bundle exec jekyll build
|
- bundle exec jekyll build
|
||||||
|
|
||||||
docker_build:
|
docker:
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
repo: docker.data.coop/data-coop-website-test
|
repo: docker.data.coop/data-coop-website
|
||||||
registry: docker.data.coop
|
registry: docker.data.coop
|
||||||
secrets: [DOCKER_USERNAME, DOCKER_PASSWORD]
|
secrets: [DOCKER_USERNAME, DOCKER_PASSWORD]
|
||||||
username:
|
username:
|
||||||
|
@ -18,3 +18,6 @@ pipeline:
|
||||||
tag:
|
tag:
|
||||||
- "${DRONE_BUILD_NUMBER}"
|
- "${DRONE_BUILD_NUMBER}"
|
||||||
- "latest"
|
- "latest"
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- master
|
||||||
|
|
Loading…
Reference in a new issue