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 be2fcc5 commit ba0e0a3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
# 1. Push to the `dev`, `staging` and `production` branches only.
# 2. Any modifications to atleast one of the `paths` targets.

name: Deployment
run-name: 🚀 Deploying to ${{ github.event.workflow_run.head_branch }}
name: Deployment˙˙
run-name: 🚀 Deploying to ${{ github.ref }}

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

env:
PRODUCT: exip
ENVIRONMENT: ${{ github.event.workflow_run.head_branch }}
ENVIRONMENT: ${{ github.ref }}
TIMEZONE: ${{ vars.TIMEZONE }}

jobs:
Expand All @@ -60,7 +60,7 @@ jobs:
if [[ "${{ env.ENVIRONMENT }}" == "feat/EMS-4098-deployment-pipeline" ]]; then
echo "environment=dev" >> "$GITHUB_OUTPUT"
else
echo "environment=${{ github.event.workflow_run.head_branch }}" >> "$GITHUB_OUTPUT"
echo "environment=${{ github.ref }}" >> "$GITHUB_OUTPUT"
fi
- name: Timezone 🌐
Expand Down

0 comments on commit ba0e0a3

Please sign in to comment.