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
|
||||
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
|
||||
run: git pull
|
||||
|
||||
@@ -28,7 +20,12 @@ jobs:
|
||||
run: npm install
|
||||
|
||||
- name: Build
|
||||
env:
|
||||
PROD_ENV_FILE: ${{ secrets.ENV }}
|
||||
run: |
|
||||
touch .env
|
||||
echo $PROD_ENV_FILE > .env
|
||||
cat .env
|
||||
export NODE_OPTIONS="--max_old_space_size=4096"
|
||||
npm run build
|
||||
|
||||
|
||||
Reference in New Issue
Block a user