diff options
author | Franck Cuny <franck@fcuny.net> | 2022-05-10 17:56:40 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-05-10 17:57:41 -0700 |
commit | 2e8a5c27fb3c48cd4c32e001d4cfc4b3f051d72f (patch) | |
tree | 23115b51923bd07bf78ed462227bda7e3ce79469 /users/fcuny/blog/.drone.yml | |
parent | static: add my resume as a static page (diff) | |
download | world-2e8a5c27fb3c48cd4c32e001d4cfc4b3f051d72f.tar.gz |
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).
Diffstat (limited to '')
-rw-r--r-- | users/fcuny/blog/.drone.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/users/fcuny/blog/.drone.yml b/users/fcuny/blog/.drone.yml new file mode 100644 index 0000000..7c0c283 --- /dev/null +++ b/users/fcuny/blog/.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 |