Skip to content

Commit

Permalink
ci: update workflow to publish to prod whent tag created
Browse files Browse the repository at this point in the history
  • Loading branch information
kajabi-bot committed Apr 23, 2024
1 parent c27af42 commit 97365c1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/release-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,7 @@ jobs:
id: branch_env
run: |
echo "Running on branch "
if [ "${{ github.ref }}" == "refs/heads/develop" ]; then
echo "postfix=staging" >> $GITHUB_ENV
elif [ "${{ github.ref }}" == "refs/heads/main" ]; then
if [ "${{ github.ref }}" == *"refs/tags"* ]; then
echo "postfix=production" >> $GITHUB_ENV
else
echo "postfix=staging" >> $GITHUB_ENV
Expand Down

0 comments on commit 97365c1

Please sign in to comment.