Skip to content

Commit

Permalink
build: use prod config
Browse files Browse the repository at this point in the history
  • Loading branch information
ice-orion committed Jan 27, 2024
1 parent 4dcc461 commit b2252ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/CICD.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
then
echo "APP_ENV=production" >> $GITHUB_ENV
else
echo "APP_ENV=staging" >> $GITHUB_ENV
echo "APP_ENV=production" >> $GITHUB_ENV
fi
- name: Configure APP environment
id: setup-env
Expand Down Expand Up @@ -295,7 +295,7 @@ jobs:
then
echo "APP_ENV=production" >> $GITHUB_ENV
else
echo "APP_ENV=staging" >> $GITHUB_ENV
echo "APP_ENV=production" >> $GITHUB_ENV
fi
echo "BUILD_NUMBER=$(echo $((GITHUB_RUN_NUMBER+2000)))" >> $GITHUB_ENV
- name: Bump version to v${{ env.APP_VERSION }}
Expand Down Expand Up @@ -388,7 +388,7 @@ jobs:
echo "APP_ENV=production" >> $GITHUB_ENV
echo "RELEASE_STATUS=completed" >> $GITHUB_ENV
else
echo "APP_ENV=staging" >> $GITHUB_ENV
echo "APP_ENV=production" >> $GITHUB_ENV
echo "RELEASE_STATUS=draft" >> $GITHUB_ENV
fi
echo "BUILD_NUMBER=$(echo $((GITHUB_RUN_NUMBER+2000)))" >> $GITHUB_ENV
Expand Down

0 comments on commit b2252ac

Please sign in to comment.