Skip to content

Commit

Permalink
Merge pull request #83 from NetSepio/main
Browse files Browse the repository at this point in the history
Merging main to prod
  • Loading branch information
Rushikeshnimkar authored Aug 7, 2024
2 parents 160d47f + cc95e29 commit 2df9fab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
jobs:
build_push:
runs-on: ubuntu-latest
environment: Production
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -24,6 +25,7 @@ jobs:
PROD_ENV_FILE: ${{ vars.PROD_EREBRUS_ENV }}
run: |
echo "$PROD_ENV_FILE" > .env
cat .env
export CURRENT_BRANCH=${GITHUB_REF#refs/heads/}
export TAG=$([[ $CURRENT_BRANCH == $(basename ${{ github.ref }}) ]] && echo $CURRENT_BRANCH || echo "latest")
echo $TAG
Expand Down

0 comments on commit 2df9fab

Please sign in to comment.