add image compression

This commit is contained in:
Dennis Eichhorn 2020-03-03 18:52:37 +01:00
parent da29455f67
commit d830328d5c

18
.github/workflows/image.yml vendored Normal file
View File

@ -0,0 +1,18 @@
name: Compress images
on: [push]
paths:
- '**.jpg'
- '**.png'
- '**.webp'
jobs:
build:
name: calibreapp/image-actions
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@master
- name: Compress Images
uses: calibreapp/image-actions@master
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}