From 1270dbff9ca7f13900d8ab0ce0011aa626029623 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Tue, 10 May 2022 17:56:40 -0700 Subject: add drone configuration and cleanup nix Add a drone configuration to run the deploy on a push to the main branch. Cleanup the nix configuration to only keep support for `nix run` (which will run the hugo server). --- .drone.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .drone.yml (limited to '.drone.yml') diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..7c0c283 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,18 @@ +kind: pipeline +type: exec +name: default + +trigger: + event: + - push + branch: + - master + +steps: + - name: deploy + environment: + FLY_API_TOKEN: + from_secret: FLY_API_TOKEN + commands: + - nix develop + - ./script/deploy.sh -- cgit v1.2.3