Skip to content

Commit 2745a80

Browse files
committed
add names for better formatting
1 parent 08420a3 commit 2745a80

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

.github/workflows/deploy.yml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Docusaurus CI, Previews & Cleanup
1+
name: Docs CI
22

33
on:
44
push:
@@ -15,7 +15,9 @@ permissions:
1515
jobs:
1616

1717
format-check:
18+
name: Prettier Check
1819
runs-on: ubuntu-latest
20+
1921
steps:
2022
- uses: actions/checkout@v4
2123

@@ -38,6 +40,7 @@ jobs:
3840
run: npm run format:check
3941

4042
lint-check:
43+
name: ESLint Check
4144
runs-on: ubuntu-latest
4245

4346
steps:
@@ -62,11 +65,9 @@ jobs:
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

0 commit comments

Comments
 (0)