summaryrefslogtreecommitdiffstats
path: root/.github/workflows/deploy.yml
blob: 239c6fddb3440c4b64296a5a9aa3ee87e813d867 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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" > /tmp/spiky
            cat /tmp/spiky
          env:
            FLY_SPIKY: ${{ secrets.FLY_SPIKY }}
        - run: flyctl deploy --remote-only
          env:
            FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}