From 9ddde0471a1bac1a8fc136a620ca96a70702f57b Mon Sep 17 00:00:00 2001 From: mat ess Date: Wed, 19 Oct 2022 19:12:52 -0400 Subject: [PATCH] Add drone build --- .drone.yml | 24 ++++++++++++++++++++++++ README.md | 1 + 2 files changed, 25 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..c965c86 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,24 @@ +kind: pipeline +type: docker +name: default + +steps: + - name: nix build + image: nixos/nix + volumes: + - name: result + path: ./result/ + commands: + - nix build + + - name: netlify deploy + image: lucap/netlify + volumes: + - name: result + path: ./result/ + settings: + token: + from_secret: netlify_token + site_id: + from_secret: netlify_site_id + path: ./result/ \ No newline at end of file diff --git a/README.md b/README.md index 1fab617..6c61f3a 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # mat.services ## my personal site +[![Build Status](https://build.mat.services/api/badges/mat/mat.services/status.svg)](https://build.mat.services/mat/mat.services) built using zola and nix