diff --git a/.github/workflows/build-to-gh-pages.yml b/.github/workflows/build-to-gh-pages.yml index 317c094..e53ff36 100644 --- a/.github/workflows/build-to-gh-pages.yml +++ b/.github/workflows/build-to-gh-pages.yml @@ -18,7 +18,7 @@ jobs: - name: Install dependencies & build run: | npm install - npm run build + npm run build-gh-pages - name: Deploy uses: peaceiris/actions-gh-pages@v3 diff --git a/package.json b/package.json index 54f845b..c9c9896 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "scripts": { "prebuild": "npm run clean", "build:eleventy": "cross-env ELEVENTY_ENV=production npx @11ty/eleventy --quiet", + "build-gh-pages": "npm run build:eleventy -- --pathprefix=/eleventy-template-bliss/", "build": "npm-run-all build:*", "postbuild": "npm run minify:js", "clean": "rimraf _site",