From 2918113ee9e995505ff162bbe7ff0a553ca2a4a0 Mon Sep 17 00:00:00 2001 From: damccull <401104+damccull@users.noreply.github.com> Date: Wed, 28 Jun 2023 23:35:35 -0400 Subject: [PATCH] Disable fly.io automatic deployment --- .github/workflows/fly.yml | 50 +++++++++++++++++++-------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/.github/workflows/fly.yml b/.github/workflows/fly.yml index c369a7a..67f03e7 100644 --- a/.github/workflows/fly.yml +++ b/.github/workflows/fly.yml @@ -1,25 +1,25 @@ -name: Fly Deploy - -on: - workflow_run: - workflows: - - CI/CD Prechecks - branches: - - main - types: - - completed -jobs: - deploy: - name: Deploy app - runs-on: ubuntu-latest - # Only deploy the app if the `general` workflow was a success. - if: ${{ github.event.workflow_run.conclusion == 'success' }} - steps: - - uses: actions/checkout@v3 - - uses: superfly/flyctl-actions/setup-flyctl@master - - name: Deploy to fly.io - run: | - cd zero2prod - flyctl deploy --remote-only - env: - FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} +# name: Fly Deploy +# +# on: +# workflow_run: +# workflows: +# - CI/CD Prechecks +# branches: +# - main +# types: +# - completed +# jobs: +# deploy: +# name: Deploy app +# runs-on: ubuntu-latest +# # Only deploy the app if the `general` workflow was a success. +# if: ${{ github.event.workflow_run.conclusion == 'success' }} +# steps: +# - uses: actions/checkout@v3 +# - uses: superfly/flyctl-actions/setup-flyctl@master +# - name: Deploy to fly.io +# run: | +# cd zero2prod +# flyctl deploy --remote-only +# env: +# FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}