From a8af40202ec3247332d3df588cdb7f2817021980 Mon Sep 17 00:00:00 2001 From: Nguyen Date: Mon, 7 Nov 2022 11:26:01 -0500 Subject: [PATCH] updates build and deploy for gh-pages --- .github/workflows/gh-pages.yml | 2 +- package.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index d81b1314e..541015936 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -29,7 +29,7 @@ jobs: # Build project - name: Build project - run: npm run-script build + run: npm run-script gh-pages-build # Push to Github Pages - name: Github Pages diff --git a/package.json b/package.json index 27c5c2c23..929a99a08 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "source": "src/index.html", "scripts": { "start": "parcel", - "build": "parcel build" + "build": "parcel build", + "gh-pages-build": "parcel build --public-url ." }, "repository": { "type": "git",