tailwindcss-update #3364
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: tailwindcss-update | |
on: | |
push: | |
schedule: | |
- cron: "0 */6 * * *" | |
workflow_dispatch: | |
jobs: | |
tailwindcss-update: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: update tailwindcss (minify) | |
uses: ZoeyVid/tailwindcss-update@main | |
with: | |
input: assets/css/input.css | |
output: assets/css/output.css | |
params: "--minify" | |
- name: push changes | |
run: | | |
git add --force assets/css/output.css | |
git config user.name "GitHub" | |
git config user.email "[email protected]" | |
git diff-index --quiet HEAD || git commit -sm "tailwindcss-update" | |
git push |