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 513b764 commit 9cbe813Copy full SHA for 9cbe813
.github/workflows/main.yml
@@ -48,6 +48,11 @@ jobs:
48
# sudo mv ./linux-generic/cavif /bin
49
# # find ./content/posts/ -type f \( -name "*.jpg" -o -name "*.png" -o -name "*.jpeg" \) -exec cavif {} \;
50
51
+ - name: Compress Image
52
+ uses: jruipinto/ImageMagick-action@v1
53
+ with:
54
+ command: find ./content/posts -type f $ -iname "*.jpg" -o -iname "*.jpeg" -o -iname "*.png" $ -exec sh -c 'convert "$1" "${1%.*}.webp" && convert "$1" "${1%.*}.avif"' _ {} \;
55
+
56
github_pages:
57
name: Build and Publish Github Pages
58
uses: ./.github/workflows/gh-pages.yml
0 commit comments