mirror of
https://github.com/Karaka-Management/Developer-Guide.git
synced 2026-02-05 15:28:41 +00:00
add image compression
This commit is contained in:
parent
f524c3aea3
commit
e2a56b0229
18
.github/workflows/image.yml
vendored
Normal file
18
.github/workflows/image.yml
vendored
Normal 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 }}
|
||||||
Loading…
Reference in New Issue
Block a user