Skip to content

Commit

Permalink
Add auto compress job and compress larger files
Browse files Browse the repository at this point in the history
  • Loading branch information
jhcoll committed Oct 20, 2023
1 parent c892991 commit 2bf9095
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/auto-compress-images.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Compress Images Once a Month - Creates Pull Request

on:
schedule:
- cron: '0 0 1 * *'

jobs:
compress-images:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Compress Images
uses: calibreapp/image-actions@main
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
compressOnly: true
- name: Create New Pull Request
if: steps.calibre.outputs.markdown != ''
uses: peter-evans/create-pull-request@v4
with:
title: Auto Compressed Images
branch-suffix: timestamp
commit-message: Auto Compressed Images
body: ${{ steps.calibre.outputs.markdown }}
Binary file modified amcdevitt/assets/eyesFollowingReact.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ceberhardt/assets/wasm-review/pyodide.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dhinrichs/profile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified hbedford/assets/Grads2018.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified rhamilton/assets/passion.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified rmarcalo/assets/experiment-with-animation-and-ui/ae-layers.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2bf9095

Please sign in to comment.