diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index dd06778ce..32cc43a1a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,7 +24,7 @@ jobs: run: | ls -lah npm install - npm run build ${{ inputs.deploy_gh_pages && format('{0}{1}', '-- --pathprefix=', github.event.repository.name ) || '' }} + npm run build ${{ inputs.deploy_gh_pages && format('{0}', github.event.repository.name ) || '' }} ls -lah haxe --run RemoveRedirects # - name: Highlighting diff --git a/package.json b/package.json index 7b92be404..6f21fd21f 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "start": "run-p start:*", "start:11ty": "eleventy --serve", "start:style": "sass --watch ./scss/style.scss ./out/styles/style.css", - "build": "run-s build:*", + "build": "run-s \"build:11ty -- --pathprefix={1}\" build:style --", "build:11ty": "eleventy", "build:style": "sass ./scss/style.scss ./out/styles/style.css", "test": "run-s test:* -c",