Skip to content

Compress images

Compress images #322

Workflow file for this run

name: Compress images
on: workflow_dispatch
jobs:
build:
name: calibreapp/image-actions
runs-on: ubuntu-latest
steps:
- name: Checkout Branch
uses: actions/checkout@v3
- name: Compress Images
id: calibre
uses: calibreapp/image-actions@main
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
ignorePaths: "kirby/**,**.webp"
compressOnly: true
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
title: Auto compress images
branch-suffix: timestamp
commit-message: Compress images
body: ${{ steps.calibre.outputs.markdown }}