Github Action: Auto Minified JS and CSS files #50
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: Minify CSS | |
on: | |
push | |
jobs: | |
minify: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Auto Minify | |
uses: nizarmah/auto-minify@master | |
# Auto commits minified files to the repository | |
# Ignore it if you don't want to commit the files to the repository | |
- name: Auto committing minified files | |
uses: stefanzweifel/[email protected] | |
with: | |
commit_message: "Github Action: Auto Minified JS and CSS files" | |
branch: ${{ github.ref }} |