diff --git a/.github/workflows/deploy-now.yaml b/.github/workflows/deploy-now.yaml index fb7c57a..847824d 100644 --- a/.github/workflows/deploy-now.yaml +++ b/.github/workflows/deploy-now.yaml @@ -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' }} diff --git a/packages/react-app/package.json b/packages/react-app/package.json index 944d83d..131de15 100644 --- a/packages/react-app/package.json +++ b/packages/react-app/package.json @@ -1,7 +1,7 @@ { "name": "@my-app/react-app", "version": "1.0.0", - "homepage": "swap.technikoin.com", + "homepage": ".", "browserslist": { "production": [ ">0.2%",