File tree 1 file changed +8
-6
lines changed
1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -11,16 +11,18 @@ jobs:
11
11
timeout-minutes : 10
12
12
steps :
13
13
- uses : actions/checkout@master
14
- - name : Update app/assets/stylesheets/tailwind.css
14
+
15
+ - name : Update tailwind.css
15
16
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
18
21
run : |
19
- TAILWIND_CSS_VERSION=`npm view tailwindcss@latest version`
20
22
git config --local user.email "github-actions@example.com"
21
23
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
+
24
26
- name : Push changes
25
27
uses : ad-m/github-push-action@master
26
28
with :
You can’t perform that action at this time.
0 commit comments