edited deploy-now.yaml and package.json

This commit is contained in:
StockiP
2022-11-02 21:15:34 +01:00
parent 05e98a0d2a
commit 9d4b3c221f
2 changed files with 15 additions and 1 deletions

View File

@@ -40,6 +40,20 @@ jobs:
npm install --global yarn npm install --global yarn
yarn install --frozen-lockfile 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 - name: Deploy to IONOS
if: ${{ steps.project.outputs.deployment-enabled == 'true' }} if: ${{ steps.project.outputs.deployment-enabled == 'true' }}
uses: ionos-deploy-now/deploy-to-ionos-action@v1 uses: ionos-deploy-now/deploy-to-ionos-action@v1

View File

@@ -1,7 +1,7 @@
{ {
"name": "@my-app/react-app", "name": "@my-app/react-app",
"version": "1.0.0", "version": "1.0.0",
"homepage": "swap.technikoin.com", "homepage": ".",
"browserslist": { "browserslist": {
"production": [ "production": [
">0.2%", ">0.2%",