diff --git a/.github/workflows/compress-images-on-pull-request.yml b/.github/workflows/compress-images-on-pull-request.yml index 10b6b8c6..d094a667 100644 --- a/.github/workflows/compress-images-on-pull-request.yml +++ b/.github/workflows/compress-images-on-pull-request.yml @@ -1,8 +1,8 @@ name: Compress images on: pull_request paths: - - '**.jpg' - - '**.png' + - 'docs/**.jpg' + - 'docs/**.png' jobs: build: name: calibreapp/image-actions @@ -10,6 +10,6 @@ jobs: steps: - uses: actions/checkout@master - name: calibreapp/image-actions - uses: calibreapp/image-actions@master + uses: docker://calibreapp/github-image-actions env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file