Skip to content

Merge branch 'main' of https://github.com/FlippedCodes/docsify-swagge… #5

Merge branch 'main' of https://github.com/FlippedCodes/docsify-swagge…

Merge branch 'main' of https://github.com/FlippedCodes/docsify-swagge… #5

name: Minify package
on:
push:
branches: [ "main" ]
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: ./src
output: ./dist
js_engine: uglify-js
- name: auto commit the minified files
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "bot: Add auto minified files"