mirror of
https://github.com/Karaka-Management/oms-Dashboard.git
synced 2026-01-11 17:38:41 +00:00
image optimization and test fixes
This commit is contained in:
parent
3241aae99a
commit
571bc4f929
32
.github/workflows/image.yml
vendored
32
.github/workflows/image.yml
vendored
|
|
@ -1,24 +1,10 @@
|
||||||
name: Compress images
|
name: Image optimization
|
||||||
on:
|
|
||||||
push:
|
|
||||||
paths:
|
|
||||||
- '**.jpg'
|
|
||||||
- '**.png'
|
|
||||||
- '**.webp'
|
|
||||||
pull_request:
|
|
||||||
paths:
|
|
||||||
- '**.jpg'
|
|
||||||
- '**.png'
|
|
||||||
- '**.webp'
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
name: calibreapp/image-actions
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout Repo
|
|
||||||
uses: actions/checkout@main
|
|
||||||
|
|
||||||
- name: Compress Images
|
on: [push, pull_request]
|
||||||
uses: calibreapp/image-actions@main
|
|
||||||
with:
|
jobs:
|
||||||
githubToken: ${{ secrets.GITHUB_TOKEN }}
|
general_image_workflow:
|
||||||
|
uses: Karaka-Management/Karaka/.github/workflows/image.yml@develop
|
||||||
|
secrets:
|
||||||
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
GH_PAT: ${{ secrets.GH_PAT }}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user