diff options
author | Franck Cuny <franck@fcuny.net> | 2022-11-07 07:57:15 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-11-07 07:57:15 -0800 |
commit | 713e1f32d13406d5415dc2ae3b201a8fa5508022 (patch) | |
tree | 606257e86ff64408286a2862a7958ebc84d8061a | |
parent | fix(layout): link to my instance of gitea instead of GitHub (diff) | |
download | fcuny.net-713e1f32d13406d5415dc2ae3b201a8fa5508022.tar.gz |
ci: add cron to update flakes
-rw-r--r-- | .drone.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml index 076cfa3..e2d1b4c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -15,3 +15,17 @@ steps: from_secret: FLY_API_TOKEN commands: - nix run .#deploy +--- +kind: pipeline +type: docker +name: daily-backup +trigger: + event: + - cron + +steps: + - name: update flakes + image: nixpkgs/nix-flakes:nixos-22.05 + commands: + - nix flake update --commit-lock-file + - nix develop -c git push origin --all |