mirror of
https://github.com/wizarrrr/wizarr.git
synced 2026-08-04 09:13:03 -04:00
26 lines
594 B
YAML
26 lines
594 B
YAML
name: Run Tailwind CSS
|
|
|
|
on:
|
|
push:
|
|
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Install dependencies
|
|
working-directory: app/static
|
|
run: npm install
|
|
- name: Build CSS
|
|
working-directory: app/static
|
|
run: npx tailwindcss -o css/main.css --minify
|
|
- name: Commit and push changes
|
|
run: |
|
|
git config --global user.email "github-actions@github.com"
|
|
git config --global user.name "Github Actions"
|
|
git add app/static/
|
|
git commit --allow-empty -m "Minifed CSS"
|
|
git push
|