fix build script for css

This commit is contained in:
Dennis Eichhorn 2020-12-05 23:21:23 +01:00
parent cac94a8a63
commit bd3e17894c

View File

@ -27,7 +27,7 @@ jobs:
run: npm run scss run: npm run scss
- name: Check for modified files - name: Check for modified files
id: git-check id: git-check
run: echo ::set-output name=modified::$(if git diff-index --quiet HEAD --; then echo "false"; else echo "true"; fi) run: echo ::set-output name=modified::$(if git diff-index --quiet HEAD -- *.{scss,css}; then echo "false"; else echo "true"; fi)
- name: Push changes - name: Push changes
if: steps.git-check.outputs.modified == 'true' if: steps.git-check.outputs.modified == 'true'
run: | run: |