Skip to content

Commit

Permalink
update deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnmclean committed May 22, 2024
1 parent 3e593b3 commit 3d30785
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ jobs:
name: πŸš€ Deploy
runs-on: ubuntu-22.04
needs: [lint, typecheck, vitest, playwright]
environment: production
concurrency: production
environment: Production
concurrency: Production
# only build/deploy branches on pushes
if: ${{ github.event_name == 'push' }}

Expand All @@ -165,14 +165,6 @@ jobs:
- name: 🎈 Setup Fly
uses: superfly/flyctl-actions/[email protected]

- name: πŸš€ Deploy Staging
if: ${{ github.ref == 'refs/heads/dev' }}
run:
flyctl deploy --remote-only --build-arg COMMIT_SHA=${{ github.sha }}
--app ${{ steps.app_name.outputs.value }}-staging
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}

- name: πŸš€ Deploy Production
if: ${{ github.ref == 'refs/heads/main' }}
run:
Expand Down

0 comments on commit 3d30785

Please sign in to comment.