Skip to content

Commit

Permalink
Minor improvements to GH Pages workflow (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
lwojcik committed Mar 3, 2024
1 parent da34020 commit cd3757b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-to-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit cd3757b

Please sign in to comment.