Skip to content

Commit 7f24d70

Browse files
committed
Add auto-minifying
1 parent e236b9a commit 7f24d70

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/minify.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
steps:
2+
# Checks-out your repository under $GITHUB_WORKSPACE, so auto-minify job can access it
3+
- uses: actions/checkout@v2
4+
5+
- name: Auto Minify
6+
uses: nizarmah/[email protected]
7+
8+
# Auto commits minified files to the repository
9+
# Ignore it if you don't want to commit the files to the repository
10+
- name: Auto committing minified files
11+
uses: stefanzweifel/git-auto-commit-action@v4
12+
with:
13+
commit_message: "Github Action: Auto Minified JS and CSS files"
14+
branch: ${{ github.ref }}

0 commit comments

Comments
 (0)