summaryrefslogtreecommitdiffstats
path: root/.github/workflows/deploy.yml
blob: 95d002a2fd2c51df9d42fb9d3b43524419c81295 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
name: peach-deploy
on:
  push:
    branches:
      - main
    tags:
      - v0.*
jobs:
  deploy:
      name: deploy peach
      runs-on: ubuntu-latest
      steps:
        - uses: actions/checkout@v2
        - uses: superfly/flyctl-actions/setup-flyctl@master
        - run: echo "Spike: $FLY_SPIKE"
          env:
            FLY_SPOOK: ${{ secrets.FLY_SPIKY }}
        - run: flyctl deploy --remote-only
          env:
            FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}