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 Nov 15, 2023
1 parent 036353e commit 1ea2e6b
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
cd main-repo && source .env
Expand Down Expand Up @@ -389,7 +389,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 1ea2e6b

Please sign in to comment.