Browse Source

Merge pull request #8662 from abpframework/EngincanV/image-compress-action

Add image compression Github action
pull/8738/head
Alper Ebicoglu 6 years ago
committed by GitHub
parent
commit
62e1b238ce
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 21
      .github/workflows/image-compression.yml

21
.github/workflows/image-compression.yml

@ -0,0 +1,21 @@
name: Compress Images
on:
pull_request:
paths:
- '**.jpg'
- '**.jpeg'
- '**.png'
- '**.webp'
jobs:
build:
if: github.event.pull_request.head.repo.full_name == github.repository
name: calibreapp/image-actions
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v2
- name: Compress Images
uses: calibreapp/image-actions@main
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
Loading…
Cancel
Save