Skip to content

Commit

Permalink
Add CI-CD to workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
CornaSn committed Jul 22, 2024
1 parent 80d8cc0 commit d5f7b46
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,15 @@ jobs:
with:
name: playwright-screenshots-videos
path: playwright/test-results/
# cd:
# name: Deploy to Fly.io
# runs-on: ubuntu-latest
# timeout-minutes: 30
# needs: ci
# if: github.ref == 'refs/heads/main'
# env:
# FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
# steps:
# - uses: actions/checkout@v4
# - uses: superfly/flyctl-actions/setup-flyctl@master
# - run: flyctl deploy --remote-only
cd:
name: Deploy to Fly.io
runs-on: ubuntu-latest
timeout-minutes: 30
needs: ci
if: github.ref == 'refs/heads/main'
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only

0 comments on commit d5f7b46

Please # to comment.