mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 18:15:45 +00:00
Add image actions
See https://github.com/gohugoio/hugoThemesSite/issues/64
This commit is contained in:
1 parent
cdca749b87
commit
f0cccc8b99
2 files changed
+18
No files matched your search
@@ -0,0 +1,6 @@
|
||||
jpeg:
|
||||
quality: 80
|
||||
png:
|
||||
quality: 80
|
||||
ignorePaths:
|
||||
- "resources/**"
|
||||
@@ -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 }}
|
||||
Reference in new issue
Block a user