From 36ad85c8ce20a4fa8e0ca982b0481d142f2e64e6 Mon Sep 17 00:00:00 2001 From: Jesper Hess Nielsen Date: Sat, 16 Mar 2019 19:27:32 +0100 Subject: [PATCH] Fix build notification --- .drone.yml | 52 ++++++++++++++++++++++------------------------------ 1 file changed, 22 insertions(+), 30 deletions(-) diff --git a/.drone.yml b/.drone.yml index 3bec5dc..c997a9c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,37 +2,29 @@ kind: pipeline name: default steps: -# build: -# image: ruby -# commands: -# - gem install bundler -# - bundle install -# - bundle exec jekyll build -# -# docker: -# image: plugins/docker -# repo: docker.data.coop/cryptohagen-website -# registry: docker.data.coop -# secrets: [DOCKER_USERNAME, DOCKER_PASSWORD] -# username: -# from_secret: DOCKER_USERNAME -# password: -# from_secret: DOCKER_PASSWORD -# tag: -# - "${DRONE_BUILD_NUMBER}" -# - "latest" -# when: -# branch: -# - master - - - name: testing - image: alpine - environment: - TEST: - from_secret: matrix_password + - name: build + image: ruby commands: - - echo hello world - + - gem install bundler + - bundle install + - bundle exec jekyll build + + - name: docker + image: plugins/docker + repo: docker.data.coop/cryptohagen-website + registry: docker.data.coop + secrets: [DOCKER_USERNAME, DOCKER_PASSWORD] + username: + from_secret: DOCKER_USERNAME + password: + from_secret: DOCKER_PASSWORD + tag: + - "${DRONE_BUILD_NUMBER}" + - "latest" + when: + branch: + - master + - name: notify image: plugins/matrix settings: