mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-10-20 18:56:16 +00:00
Fix: create .env from secret in Cloudflare workflow
This commit is contained in:
1 parent
1576088821
commit
8b85ae7ece
1 file changed
+5
-3
@@ -28,11 +28,13 @@ jobs:
|
||||
working-directory: web
|
||||
run: npm install
|
||||
|
||||
- name: Create env file
|
||||
working-directory: web
|
||||
run: echo "${{ secrets.ENV_PRODUCTION }}" > .env
|
||||
|
||||
- name: Build
|
||||
working-directory: web
|
||||
run: |
|
||||
cp .env.production .env
|
||||
npm run build
|
||||
run: npm run build
|
||||
env:
|
||||
NODE_ENV: production
|
||||
|
||||
|
||||
Reference in new issue
Block a user