Skip to content

Commit

Permalink
Create minify.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
RedNotSus authored Apr 13, 2024
1 parent 156dfb8 commit 3c5aa9d
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/minify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
on: [push]

jobs:
minify:
runs-on: ubuntu-latest
steps:
- name: check out the repository
uses: actions/checkout@v4

- name: auto minify the files
uses: nizarmah/auto-minify@v3
with:
directory: '/static/assets/json/load'
output: '/static/assets/min'

- name: auto commit the minified files
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "bot: Add auto minified files"

0 comments on commit 3c5aa9d

Please sign in to comment.