Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
milanaryal committed Nov 2, 2023
1 parent ea4e410 commit 85569e0
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,18 @@ jobs:
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
brew install tdewolff/tap/minify || true
minify --type=text/html \
--match "*.html" \
--html-keep-default-attrvals \
--html-keep-document-tags \
--html-keep-end-tags \
--html-keep-quotes \
--verbose \
--recursive --output "./_site/" --match="\.html$" "./_site/"
minify --type=application/json --recursive --output "./_site/" --match="\.json$" "./_site/" --verbose || true \
--recursive \
--output "./_site/" \
"./_site/"
minify --type=application/json --match "*.json" --verbose --recursive --output "./_site/" "./_site/" || true \
&& \
minify --type=application/manifest+json --output . "./_site/manifest.webmanifest" --verbose || true
minify --type=application/manifest+json --verbose --output . "./_site/manifest.webmanifest" || true
- name: Checking HTML files
run: |
Expand Down

0 comments on commit 85569e0

Please sign in to comment.