From e2a56b02293b6792e5071034ff7c6c3c9fdc7d7a Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Tue, 3 Mar 2020 18:52:31 +0100 Subject: [PATCH] add image compression --- .github/workflows/image.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/image.yml diff --git a/.github/workflows/image.yml b/.github/workflows/image.yml new file mode 100644 index 0000000..578ad75 --- /dev/null +++ b/.github/workflows/image.yml @@ -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 }} \ No newline at end of file