Skip to content

Commit

Permalink
add scss workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ohitstom committed Oct 4, 2023
1 parent 2d508f7 commit f0db28b
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
on:
push:
branches: [main]

name: Build

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "lts/*"

- name: Compile Sass
run: npx sass Comfy/app.scss:catppuccin/app.css --no-source-map --style=compressed

- name: Push Changes
uses: stefanzweifel/git-auto-commit-action@v4
if: ${{ github.repository == 'Comfy-Themes/Spicetify' && github.ref == 'refs/heads/main' }}
with:
commit_message: "chore: compile scss"
commit_author: "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>"
branch: ${{ github.ref }}

0 comments on commit f0db28b

Please sign in to comment.