Skip to content

Commit c01de95

Browse files
committed
add gh specific build script
1 parent dbacd77 commit c01de95

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Diff for: .github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
run: npm install
2020

2121
- name: Build
22-
run: npm run build
22+
run: npm run build-gh
2323

2424
- name: Deploy
2525
uses: JamesIves/github-pages-deploy-action@releases/v3

Diff for: package.json

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"scripts": {
66
"start": "parcel src/index.html -p 8000",
77
"build": "parcel build src/index.html --out-dir dist --public-url ./",
8+
"build-gh": "parcel build src/index.html --out-dir dist --public-url /phaser3-typescript-spine/",
89
"test": "echo \"Error: no test specified\" && exit 1"
910
},
1011
"author": "supertommy",

0 commit comments

Comments
 (0)