Compile scss to css #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Compile SASS | |
on: | |
push: | |
paths: | |
- '**/gtk.scss' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Dart Sass | |
run: npm install -g sass | |
- name: Compile SASS | |
run: | | |
find . -name "gtk.scss" -exec sh -c 'sass --style=expanded --no-source-map $1 $(dirname $1)/gtk.css' _ {} \; | |
- name: Add, commit, and push | |
run: | | |
git config --global user.name "GitHub Actions" | |
git config --global user.email "<>" | |
git add -A | |
git commit -m "Compile scss to css" | |
git push |