Skip to content

Commit

Permalink
Merge pull request #1 from BabyfaceDeveloper/add-gh-pages-build
Browse files Browse the repository at this point in the history
updates build and deploy for gh-pages
  • Loading branch information
MattCSmith committed Jan 16, 2023
2 parents c036db9 + a8af402 commit 9b481b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 9b481b0

Please sign in to comment.