Skip to content

Commit

Permalink
Fix environment setting
Browse files Browse the repository at this point in the history
Fixes environment in deploy, removes on PR run, and adds conditional back in.
  • Loading branch information
p-galligan committed May 3, 2024
1 parent 644e268 commit a96776c
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,14 @@ on:
branches:
- development
- base
pull_request:
branches:
- development
workflow_dispatch:

jobs:
deploy:
runs-on: ubuntu-latest
#if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/development'
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/development'
environment:
name: development
name: ${{ github.ref_name }}

env:
APPLICATION_NAME: gemini
Expand Down

0 comments on commit a96776c

Please sign in to comment.