Merge remote-tracking branch 'origin/689-section-settings' into 689-s… #583
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |