1
0
mirror of https://github.com/gilbN/theme.park.git synced 2024-10-05 15:07:11 +02:00

run workflow in develop

This commit is contained in:
GilbN 2021-10-30 11:39:58 +02:00
parent 7ad2432cc0
commit dbb1d25d69

View File

@ -3,6 +3,7 @@ on:
push:
branches:
- master
- develop
paths-ignore:
- 'docker-mods/**'
- '.github/**'
@ -32,6 +33,7 @@ jobs:
git commit -m "themes.json" || echo "Ignore commit failure, proceed"
git push || echo "Ignore push failure, proceed"
- name: Minify CSS
if: ${{ github.ref == 'refs/heads/master' }}
run: |
sudo npm install -g minify@7.2.2
sudo apt-get update
@ -48,7 +50,7 @@ jobs:
echo "Minified ${directory} > ${output_path}"
}
find ./CSS -type f -iname *base.css | while read fname
find ./css -type f -iname *base.css | while read fname
do
if [[ "$fname" != *"min."* ]]; then
minify_file $fname