about summary refs log tree commit diff
path: root/.github/workflows/deploy.yaml
blob: 843b15a1c7d13fb90ddc3c5e04d309be54c28bd7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
name: Deploy
on:
  push:
    branches:
      - main
    paths-ignore:
      - '.github/**'

jobs:
  production:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: cachix/install-nix-action@v17
        with:
          extra_nix_config: |
            experimental-features = nix-command flakes
      - run: nix --log-format raw -L run .#deploy
        env:
          FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}