Skip to content

Tweaks

Tweaks #395

Workflow file for this run

name: Auto Minify JS and CSS Files
on:
workflow_dispatch:
push:
paths:
- 'assets/**/*.js'
- 'assets/**/*.css'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
- name: Auto Minify
uses: alexmigf/auto-minify@exclude-dirs
with:
directory: 'assets'
exclude_directories: 'js/pdf_js'
- name: Auto committing minified files
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "Generate minified JS and CSS files"