We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3f2a34 commit 39e3500Copy full SHA for 39e3500
.github/workflows/deploy.yml
@@ -36,6 +36,14 @@ jobs:
36
env:
37
NODE_ENV: production
38
39
+ - name: Optimize images
40
+ continue-on-error: true
41
+ run: |
42
+ sudo apt-get install -y jpegoptim optipng gifsicle webp
43
+ find out/images -type f \( -iname "*.jpg" -o -iname "*.jpeg" \) -exec jpegoptim --strip-all --max=85 {} \;
44
+ find out/images -type f -iname "*.png" -exec optipng -o2 {} \;
45
+ find out/images -type f -iname "*.gif" -exec gifsicle --batch -O3 {} \;
46
+
47
- name: Upload artifact
48
uses: actions/upload-pages-artifact@v3
49
with:
0 commit comments