From 2acd9c4b5fa3f615af3403daede9ff5c5682f4c0 Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Wed, 3 Aug 2022 00:49:17 -0600 Subject: auto deploy to prod too --- .github/workflows/deploy-prod.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/deploy-prod.yml (limited to '.github/workflows') diff --git a/.github/workflows/deploy-prod.yml b/.github/workflows/deploy-prod.yml new file mode 100644 index 0000000..ea52d64 --- /dev/null +++ b/.github/workflows/deploy-prod.yml @@ -0,0 +1,17 @@ +name: Fly Deploy Prod +on: + release: + - released +jobs: + deploy: + name: Deploy app + environment: + name: prod + url: https://pig.observer + runs-on: ubuntu-latest + env: + FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} + steps: + - uses: actions/checkout@v2 + - uses: superfly/flyctl-actions/setup-flyctl@master + - run: flyctl deploy --remote-only --app pig-observer -- cgit v1.2.3