Update env file creation
All checks were successful
Bump deps (only minor versions) / ci (push) Successful in 29s
All checks were successful
Bump deps (only minor versions) / ci (push) Successful in 29s
This commit is contained in:
parent
67e521b7b4
commit
d43db45617
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@ jobs:
|
||||||
echo "HOST=0.0.0.0" >> .env
|
echo "HOST=0.0.0.0" >> .env
|
||||||
echo "ORIGIN=https://dl.emersa.it" >> .env
|
echo "ORIGIN=https://dl.emersa.it" >> .env
|
||||||
echo "PUBLIC_VERSION=$(cat package.json | jq .version)" >> .env
|
echo "PUBLIC_VERSION=$(cat package.json | jq .version)" >> .env
|
||||||
|
echo "NODE_ENV=production" >> .env
|
||||||
npm run build
|
npm run build
|
||||||
cp package* build/
|
cp package* build/
|
||||||
cp .env build/
|
cp .env build/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue