diff --git a/.github/calibre/image-actions.yml b/.github/calibre/image-actions.yml new file mode 100644 index 00000000..e318d5d0 --- /dev/null +++ b/.github/calibre/image-actions.yml @@ -0,0 +1,9 @@ +# https://github.com/marketplace/actions/image-actions +jpeg: + quality: 80 +png: + quality: 100 +webp: + quality: 80 +ignorePaths: + - "node_modules/**" diff --git a/.github/workflows/image-action.yml b/.github/workflows/image-action.yml new file mode 100644 index 00000000..96ec9097 --- /dev/null +++ b/.github/workflows/image-action.yml @@ -0,0 +1,21 @@ +# https://github.com/marketplace/actions/image-actions +name: Compress images + +on: + pull_request: + paths: + - '**.jpg' + - '**.jpeg' + - '**.png' + - '**.webp' + +jobs: + build: + name: calibreapp/image-actions + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: calibreapp/image-actions + uses: docker://calibreapp/github-image-actions + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/static/fork-repo.png b/static/fork-repo.png index ebb357ac..99c7e206 100644 Binary files a/static/fork-repo.png and b/static/fork-repo.png differ diff --git a/static/open-pr.png b/static/open-pr.png index 24fbde2a..790dc1d5 100644 Binary files a/static/open-pr.png and b/static/open-pr.png differ diff --git a/static/pull-request.png b/static/pull-request.png index b57de00d..6a3a4e07 100644 Binary files a/static/pull-request.png and b/static/pull-request.png differ diff --git a/static/self-assign.png b/static/self-assign.png index ad74848c..1c68271e 100644 Binary files a/static/self-assign.png and b/static/self-assign.png differ diff --git a/static/wuhan2020.png b/static/wuhan2020.png index 3dddbdf3..c1dd0461 100644 Binary files a/static/wuhan2020.png and b/static/wuhan2020.png differ