Create leanify.yml

This commit is contained in:
Boof 2023-06-05 10:58:59 +02:00 committed by GitHub
parent 021457d141
commit ba189128e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

31
.github/workflows/leanify.yml vendored Normal file
View File

@ -0,0 +1,31 @@
name: "Leanify"
on:
workflow_dispatch:
push:
branches: [ "main" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main" ]
schedule:
- cron: '44 8 * * 5'
jobs:
build:
name: Compressing repo with leanify
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Downloading Leanify
run: |
wget https://hexahigh.github.io/cdn/Software/leanify
chmod +x leanify
- name: Running Leanify
run: |
./leanify -d 1