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