Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
IrvingArmenta authored Feb 21, 2025
1 parent 78e48c0 commit 86edc82
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ jobs:
deploy:
runs-on: ubuntu-latest
environment: ${{ github.ref_name == 'main' && 'production' || github.ref_name }}

if: |
github.ref_name == 'main' ||
github.ref_name == 'development' ||
github.ref_name == 'staging'
steps:
- name: Logging
run: |
Expand Down

0 comments on commit 86edc82

Please sign in to comment.