summaryrefslogblamecommitdiffstats
path: root/.github/workflows/deploy.yml
blob: 3481958ecc1c94261c4f4214139ac69e6c587f62 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


                  

             

            



                            
                      


                                                           
                

                                                 
              
                                               
                                          

                                                       
name: peach-deploy
on:
  push:
    branches:
      - main
    tags:
      - v0.*
jobs:
  deploy:
      name: deploy peach
      runs-on: ubuntu-latest
      environment: fly
      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 }}