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 cc163c0 commit ab3726bCopy full SHA for ab3726b
.github/workflows/compress-images.yml
@@ -0,0 +1,22 @@
1
+# Compress images on demand (workflow_dispatch), and on pushes to the default branch (push).
2
+# Open a Pull Request if any images can be compressed.
3
+name: Compress Images
4
+
5
+on:
6
+ workflow_dispatch:
7
+ push:
8
+ branches: "mg/compress-images"
9
10
+jobs:
11
+ compress:
12
+ name: calibreapp/image-actions
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - name: Checkout Repo
16
+ uses: actions/checkout@v4
17
+ - name: Compress Images
18
+ id: calibre
19
+ uses: calibreapp/image-actions@1.1.0
20
+ with:
21
+ githubToken: ${{ secrets.GITHUB_TOKEN }}
22
+ compressOnly: false
0 commit comments