Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
codekansas committed Dec 29, 2024
1 parent 43c6f94 commit 2a54605
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ concurrency:
jobs:
backend:
runs-on: ubuntu-latest

environment: ${{ github.ref == 'refs/heads/master' && 'production' || 'staging' }}

steps:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ on:
push:
branches:
- master
- staging
pull_request:
branches:
- master
- staging
types:
- opened
- reopened
Expand All @@ -21,7 +23,7 @@ jobs:
run-tests:
timeout-minutes: 10
runs-on: ubuntu-latest
environment: staging
environment: ${{ github.ref == 'refs/heads/master' && 'production' || 'staging' }}

env:
JWT_SECRET: test
Expand Down

0 comments on commit 2a54605

Please sign in to comment.