From c243fe0355010b2e54b384d6ee95294d2ec6429e Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Mon, 25 Sep 2023 03:09:10 +0000 Subject: [PATCH] image optimization and test fixes --- .github/workflows/image.yml | 32 +++++++++----------------------- 1 file changed, 9 insertions(+), 23 deletions(-) diff --git a/.github/workflows/image.yml b/.github/workflows/image.yml index d079329..6f8f14a 100755 --- a/.github/workflows/image.yml +++ b/.github/workflows/image.yml @@ -1,24 +1,10 @@ -name: Compress images -on: - push: - paths: - - '**.jpg' - - '**.png' - - '**.webp' - pull_request: - paths: - - '**.jpg' - - '**.png' - - '**.webp' -jobs: - build: - name: calibreapp/image-actions - runs-on: ubuntu-latest - steps: - - name: Checkout Repo - uses: actions/checkout@main +name: Image optimization - - name: Compress Images - uses: calibreapp/image-actions@main - with: - githubToken: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file +on: [push, pull_request] + +jobs: + general_image_workflow: + uses: Karaka-Management/Karaka/.github/workflows/image.yml@develop + secrets: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_PAT: ${{ secrets.GH_PAT }}