Skip to content

Commit

Permalink
fix(EMS-4098): fixed deployment script
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhi Markan committed Jan 10, 2025
1 parent 96456e2 commit d110b3c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# 2. Any modifications to atleast one of the `paths` targets.

name: Deployment˙˙
run-name: 🚀 Deploying to ${{ github.ref }}
run-name: 🚀 Deploying to ${{ github.ref_name }}

on:
schedule:
Expand All @@ -40,7 +40,7 @@ on:

env:
PRODUCT: exip
ENVIRONMENT: ${{ github.ref }}
ENVIRONMENT: ${{ github.ref_name }}
TIMEZONE: ${{ vars.TIMEZONE }}

jobs:
Expand All @@ -57,7 +57,7 @@ jobs:
- name: Environment 🧪
id: environment
run: |
if [[ "${{ env.ENVIRONMENT }}" == *EMS-4098-deployment-pipeline* ]]; then
if [[ "${{ env.ENVIRONMENT }}" == refs/heads/feat/EMS-4098-deployment-pipeline ]]; then
echo "environment=dev" >> "$GITHUB_OUTPUT"
else
echo "environment=${{ github.ref }}" >> "$GITHUB_OUTPUT"
Expand Down

0 comments on commit d110b3c

Please sign in to comment.