Skip to content

Add review multiple criterias support #57

Add review multiple criterias support

Add review multiple criterias support #57

name: Compile assets
on:
push:
branches-ignore: [ main, master ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Compile LESS
uses: hivepress/action-compile-assets/less@v1.1.0
with:
target: 'assets/css/*.less'
- name: Minify assets
uses: hivepress/action-minify-assets@v2.1
- name: Commit changes
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git diff --quiet HEAD || (git commit -am "Compile assets" && git push)