mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-14 15:20:42 -04:00
Add image actions
See https://github.com/gohugoio/hugoThemesSite/issues/64
This commit is contained in:
parent
cdca749b87
commit
f0cccc8b99
6
.github/calibre/image-actions.yml
vendored
Normal file
6
.github/calibre/image-actions.yml
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
jpeg:
|
||||||
|
quality: 80
|
||||||
|
png:
|
||||||
|
quality: 80
|
||||||
|
ignorePaths:
|
||||||
|
- "resources/**"
|
12
.github/workflows/calibreapp-image-actions.yml
vendored
Normal file
12
.github/workflows/calibreapp-image-actions.yml
vendored
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
name: Compress images
|
||||||
|
on: pull_request
|
||||||
|
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 }}
|
Loading…
x
Reference in New Issue
Block a user