summaryrefslogtreecommitdiffstats
path: root/.github/workflows/deploy.yml
blob: 3268c5c568ce9859fc71f534bdee04889912b5b2 (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_SPIKY
          env:
            FLY_SPIKY: ${{ secrets.FLY_SPIKY }}
        - run: flyctl deploy --remote-only
          env:
            FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}