Skip to content

Commit

Permalink
Add Staging in build-rp-archiver-push-tag-shared.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelloale authored and Robi9 committed Sep 27, 2023
1 parent 3983fb2 commit 8b23838
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build-rp-archiver-push-tag-shared.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Build Archiver in Shared (Push Tag)
on:
push:
tags:
- '*.*.*-staging'
- '*.*.*-develop'

jobs:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: Build Archiver in SP, India and Ireland (Push Tag)
on:
push:
tags:
- '*.*.*-staging'
- '*.*.*'

jobs:
Expand All @@ -20,6 +19,8 @@ jobs:
elif grep -qs -e '^.*.*-staging' <<< "${TAG}" ; then
echo "Found environment: STAGING - ${TAG}"
echo "ENVIRONMENT=staging" | tee -a "${GITHUB_ENV}"
exit 1 # stop action
elif grep -qs -e '^.*.*-staging' <<< "${TAG}" ; then
elif grep -qs -e '^.*.*' <<< "${TAG}" ; then
echo "No environment found, assuming: PRODUCTION - ${TAG}"
echo "ENVIRONMENT=production" | tee -a "${GITHUB_ENV}"
Expand Down

0 comments on commit 8b23838

Please sign in to comment.