From 891b31872c639547e98e1b423146e47c0367707f Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Mon, 25 Sep 2023 02:43:06 +0000 Subject: [PATCH] test image optimization --- .github/workflows/image.yml | 30 ++++++++---------------------- 1 file changed, 8 insertions(+), 22 deletions(-) diff --git a/.github/workflows/image.yml b/.github/workflows/image.yml index d079329..fb468e7 100644 --- 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: Compress Images - uses: calibreapp/image-actions@main - with: - githubToken: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file +on: [push, pull_request] + +jobs: + general_module_workflow: + uses: Karaka-Management/Karaka/.github/workflows/image.yml@develop + secrets: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_PAT: ${{ secrets.GH_PAT }}