File tree Expand file tree Collapse file tree 1 file changed +10
-12
lines changed
Expand file tree Collapse file tree 1 file changed +10
-12
lines changed Original file line number Diff line number Diff line change 1- name : Docusaurus CI, Previews & Cleanup
1+ name : Docs CI
22
33on :
44 push :
@@ -15,7 +15,9 @@ permissions:
1515jobs :
1616
1717 format-check :
18+ name : Prettier Check
1819 runs-on : ubuntu-latest
20+
1921 steps :
2022 - uses : actions/checkout@v4
2123
3840 run : npm run format:check
3941
4042 lint-check :
43+ name : ESLint Check
4144 runs-on : ubuntu-latest
4245
4346 steps :
6265 run : npm run lint
6366
6467
65- # ---------------------
66- # BUILD JOB
67- # Runs ONLY if lint + prettier succeed
68- # ---------------------
68+
6969 build :
70+ name : Build Site
7071 needs : [ format-check, lint-check ]
7172 if : github.event.action != 'closed'
7273 runs-on : ubuntu-latest
@@ -117,10 +118,9 @@ jobs:
117118 path : build
118119
119120
120- # ---------------------
121- # DEPLOY JOB
122- # ---------------------
121+
123122 deploy :
123+ name : Deploy Preview
124124 needs : build
125125 if : github.event.action != 'closed'
126126 runs-on : ubuntu-latest
@@ -158,14 +158,12 @@ jobs:
158158 with :
159159 header : docusaurus-preview
160160 message : |
161- 🚀 **Docusaurus preview deployed! **
161+ 🚀 **Preview Deployed **
162162 🔗 [View Preview](${{ steps.vars.outputs.url }})
163163
164164
165- # ---------------------
166- # CLEANUP JOB
167- # ---------------------
168165 cleanup :
166+ name : Cleanup Preview
169167 if : github.event_name == 'pull_request' && github.event.action == 'closed'
170168 runs-on : ubuntu-latest
171169
You can’t perform that action at this time.
0 commit comments