edited deploy-now.yaml and package.json
This commit is contained in:
14
.github/workflows/deploy-now.yaml
vendored
14
.github/workflows/deploy-now.yaml
vendored
@@ -39,6 +39,20 @@ jobs:
|
||||
run: |
|
||||
npm install --global yarn
|
||||
yarn install --frozen-lockfile
|
||||
|
||||
|
||||
- name: Build React App
|
||||
if: ${{ steps.project.outputs.deployment-enabled == 'true' }}
|
||||
env:
|
||||
CI: true
|
||||
SITE_URL: ${{ steps.project.outputs.site-url }}
|
||||
run: |
|
||||
yarn react-app:build
|
||||
|
||||
- name: cd into build folder
|
||||
if: ${{ steps.project.outputs.deployment-enabled == 'true' }}
|
||||
run: |
|
||||
cd packages/react-app/build
|
||||
|
||||
- name: Deploy to IONOS
|
||||
if: ${{ steps.project.outputs.deployment-enabled == 'true' }}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@my-app/react-app",
|
||||
"version": "1.0.0",
|
||||
"homepage": "swap.technikoin.com",
|
||||
"homepage": ".",
|
||||
"browserslist": {
|
||||
"production": [
|
||||
">0.2%",
|
||||
|
||||
Reference in New Issue
Block a user