diff options
Diffstat (limited to '.github/workflows/deploy.yaml')
-rw-r--r-- | .github/workflows/deploy.yaml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml new file mode 100644 index 0000000..b811c8e --- /dev/null +++ b/.github/workflows/deploy.yaml @@ -0,0 +1,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 }} |