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!