diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..8973b9f --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,22 @@ +on: [push] + +jobs: + minify: + runs-on: ubuntu-latest + + permissions: + contents: write + + steps: + - name: Checkout + uses: actions/checkout@v4.1.6 + + - name: HTML/CSS/JS Minifier + uses: devatherock/minify-js@v3.1.0 + with: + add_suffix: false + + - name: Commit + uses: stefanzweifel/git-auto-commit-action@v5.0.1 + with: + commit_message: "bot: Minify"