Adding env file changes
All checks were successful
Deploy to production / build (push) Successful in 1m2s
All checks were successful
Deploy to production / build (push) Successful in 1m2s
This commit is contained in:
@@ -13,14 +13,6 @@ jobs:
|
|||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: https://gitea.com/ScMi1/checkout@v1
|
uses: https://gitea.com/ScMi1/checkout@v1
|
||||||
|
|
||||||
- name: Create env file
|
|
||||||
env:
|
|
||||||
PROD_ENV_FILE: ${{ secrets.ENV }}
|
|
||||||
run: |
|
|
||||||
touch .env
|
|
||||||
echo $PROD_ENV_FILE > .env
|
|
||||||
cat .env
|
|
||||||
|
|
||||||
- name: Pull latest changes
|
- name: Pull latest changes
|
||||||
run: git pull
|
run: git pull
|
||||||
|
|
||||||
@@ -28,7 +20,12 @@ jobs:
|
|||||||
run: npm install
|
run: npm install
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
|
env:
|
||||||
|
PROD_ENV_FILE: ${{ secrets.ENV }}
|
||||||
run: |
|
run: |
|
||||||
|
touch .env
|
||||||
|
echo $PROD_ENV_FILE > .env
|
||||||
|
cat .env
|
||||||
export NODE_OPTIONS="--max_old_space_size=4096"
|
export NODE_OPTIONS="--max_old_space_size=4096"
|
||||||
npm run build
|
npm run build
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user