Skip to content

Commit

Permalink
[add] build description
Browse files Browse the repository at this point in the history
  • Loading branch information
VecHK committed Dec 16, 2023
1 parent e831384 commit ecae245
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ jobs:
NODE_ENV: development
run: |
cd front
printf "${{secrets.FRONT_ENV_DEVELOPMENT}}" > ./.env.development
echo "${{secrets.FRONT_ENV_DEVELOPMENT}}" > ./.env.development
echo "REACT_APP_BUILD_DESCRIPTION=Development version. build:${{ github.run_number }} commit:${{ github.sha }}" >> ./.env.production
yarn install --production=false
yarn build:development
mv build ../
Expand All @@ -43,8 +44,7 @@ jobs:
NODE_ENV: development
run: |
cd dashboard
echo "${{secrets.DASHBOARD_ENV_DEVELOPMENT}}" > ./.env.production
echo "REACT_APP_BUILD_DESCRIPTION=Development version. build:${{ github.run_number }} commit:${{ github.sha }}" >> ./.env.production
echo "${{secrets.DASHBOARD_ENV_DEVELOPMENT}}\n" > ./.env.production
npm install
npm run build:prod
mv dist dashboard
Expand Down

0 comments on commit ecae245

Please sign in to comment.