From 737a1a380be5347bbe0970e3fe14abb99977fc0a Mon Sep 17 00:00:00 2001 From: Jesper Hess Nielsen Date: Sat, 2 Mar 2019 22:45:48 +0100 Subject: [PATCH] Add initial .drone.yml file --- .drone.yml | 20 ++++++++++++++++++++ README.md | 3 ++- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..13dd282 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,20 @@ +pipeline: + build_website: + image: ruby + commands: + - gem install bundler + - bundle install + - bundle exec jekyll build + + docker_build: + image: plugins/docker + repo: docker.data.coop/data-coop-website-test + registry: docker.data.coop + secrets: [DOCKER_USERNAME, DOCKER_PASSWORD] + username: + from_secret: DOCKER_USERNAME + password: + from_secret: DOCKER_PASSWORD + tag: + - "${DRONE_BUILD_NUMBER}" + - "latest" diff --git a/README.md b/README.md index 92a862a..05c24f7 100644 --- a/README.md +++ b/README.md @@ -18,4 +18,5 @@ upon saving files in the source directory. ## Deploying the site -An automated deployment pipeline is underway. For now, just ping graffen :) \ No newline at end of file +An automated deployment pipeline is underway. For now, just ping graffen :) +Getting there!