aboutsummaryrefslogblamecommitdiff
path: root/.drone.yml
blob: e2d1b4c1eea35014f0681b29addeccc93821c72f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                  













                                            
kind: pipeline
type: exec
name: deploy

trigger:
  event:
    - push
  branch:
    - main

steps:
  - name: deploy
    environment:
      FLY_API_TOKEN:
        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