Skip to content

Blog: Building Your Node-RED Industrial MCP Server with FlowFuse #4046

Blog: Building Your Node-RED Industrial MCP Server with FlowFuse

Blog: Building Your Node-RED Industrial MCP Server with FlowFuse #4046

name: Compress images
on:
pull_request:
branches:
- main
paths:
- '**.jpg'
- '**.jpeg'
- '**.png'
- '**.webp'
jobs:
build:
name: calibreapp/image-actions
runs-on: ubuntu-latest
if: github.repository == 'FlowFuse/website' && github.event.pull_request.head.repo.full_name == github.repository
steps:
- name: Checkout Branch
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Compress Images
id: calibre
uses: calibreapp/image-actions@f32575787d333b0579f0b7d506ff03be63a669d1 # 1.4.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# For non-Pull Requests, run in compressOnly mode and we'll PR after.
compressOnly: ${{ github.event_name != 'pull_request' }}
pngQuality: '80'