about summary refs log tree commit diff
path: root/.github/workflows/deploy.yaml
blob: b811c8ecaa17a5923dd0268282d48426df42210e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
name: Deploy
on:
  push:
    branches:
      - main
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 }}