From c133ba5a20b895f2a51d1c7908afe393207287da Mon Sep 17 00:00:00 2001 From: divlo Date: Thu, 17 Jun 2021 19:09:46 +0200 Subject: [PATCH] fix(example): issue with gh-pages deploy --- .github/workflows/build.yml | 2 +- example/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cb6a8da..c16f039 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,4 +26,4 @@ jobs: run: 'npm run build' - name: 'Build Example' - run: 'cd example && npm ci && npm run build -- --public-url "https://divlo.github.io/react-component-form/"' + run: 'cd example && npm ci && npm run build' diff --git a/example/package.json b/example/package.json index 01f9758..ca3f3c1 100644 --- a/example/package.json +++ b/example/package.json @@ -4,7 +4,7 @@ "license": "MIT", "scripts": { "start": "parcel index.html", - "build": "parcel build index.html" + "build": "parcel build index.html --public-url '/react-component-form/'" }, "alias": { "react": "../node_modules/react",