File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -11,16 +11,18 @@ jobs:
1111 timeout-minutes : 10
1212 steps :
1313 - uses : actions/checkout@master
14- - name : Update app/assets/stylesheets/tailwind.css
14+
15+ - name : Update tailwind.css
1516 run : |
16- npx tailwindcss-cli@latest build -o app/assets/stylesheets/tailwind.css
17- - name : Commit files
17+ yarn upgrade tailwindcss
18+ yarn build
19+
20+ - name : Commit changes
1821 run : |
19- TAILWIND_CSS_VERSION=`npm view tailwindcss@latest version`
2022 git config --local user.email "github-actions@example.com"
2123 git config --local user.name "GitHub Actions"
22- git add app/assets/stylesheets/ tailwind.css
23- git commit -am "[nodoc] Updating Tailwind CSS to $TAILWIND_CSS_VERSION" || echo "No changes to commit"
24+ git commit -am "Update tailwind.css" || echo "No changes to commit"
25+
2426 - name : Push changes
2527 uses : ad-m/github-push-action@master
2628 with :
You can’t perform that action at this time.
0 commit comments