Skip to content

Commit

Permalink
Run image compression
Browse files Browse the repository at this point in the history
  • Loading branch information
giordano committed Oct 25, 2024
1 parent cc163c0 commit ab3726b
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/compress-images.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Compress images on demand (workflow_dispatch), and on pushes to the default branch (push).
# Open a Pull Request if any images can be compressed.
name: Compress Images

on:
workflow_dispatch:
push:
branches: "mg/compress-images"

jobs:
compress:
name: calibreapp/image-actions
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Compress Images
id: calibre
uses: calibreapp/image-actions@1.1.0
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
compressOnly: false

0 comments on commit ab3726b

Please sign in to comment.