Skip to content

Create minify.yaml

Create minify.yaml #4

Workflow file for this run

name: Minify Dates
on: [push]
jobs:
Minify:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so auto-minify job can access it
- uses: actions/checkout@v2
- name: Auto Minify
uses: nizarmah/[email protected]
with:
maxdepth: 2
overwrite: true
# 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/git-auto-commit-action@v4
with:
commit_message: "Github Action: Auto Minified JS and CSS files"
branch: ${{ github.ref }}