Skip to content

Commit

Permalink
Fixing workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
pratnala committed Sep 4, 2021
1 parent bced4a2 commit aeec1c4
Showing 1 changed file with 18 additions and 12 deletions.
30 changes: 18 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
steps:
- uses: actions/checkout@v2

- name: Auto Minify
uses: nizarmah/auto-minify@v2
with:
maxdepth: 1

- name: Auto commit minified files
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "Auto Minification"
name: Minify CSS
on:
push:
branches:
- main
jobs:
minify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Auto Minify
uses: nizarmah/auto-minify@v2
with:
maxdepth: 1
- name: Auto commit minified files
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "Auto Minification"

0 comments on commit aeec1c4

Please sign in to comment.