Skip to content

Commit

Permalink
ci: correct deploy conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
steveoh committed Oct 7, 2024
1 parent 94f6c9a commit 3256831
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
environment:
name: dev
if: github.ref == 'refs/heads/dev'
if: github.event.release.prerelease == true

steps:
- name: ⬇️ Set up code
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:
runs-on: ubuntu-latest
environment:
name: prod
if: github.ref == 'refs/heads/main'
if: github.event.release.prerelease == false

steps:
- name: ⬇️ Set up code
Expand Down

0 comments on commit 3256831

Please sign in to comment.