mirror of
https://github.com/ivuorinen/.github.git
synced 2026-02-10 11:45:53 +00:00
Fixes and updates
This commit is contained in:
4
.github/workflows/compress-images.yml
vendored
4
.github/workflows/compress-images.yml
vendored
@@ -6,18 +6,20 @@ on:
|
||||
schedule:
|
||||
- cron: '00 23 * * 0'
|
||||
jobs:
|
||||
build:
|
||||
CompressOnDemandOrSchedule:
|
||||
name: calibreapp/image-actions
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Compress Images
|
||||
id: calibre
|
||||
uses: calibreapp/image-actions@main
|
||||
with:
|
||||
githubToken: ${{ secrets.GITHUB_TOKEN }}
|
||||
compressOnly: true
|
||||
|
||||
- name: Create New Pull Request If Needed
|
||||
if: steps.calibre.outputs.markdown != ''
|
||||
uses: peter-evans/create-pull-request@v3
|
||||
|
||||
Reference in New Issue
Block a user