File tree 2 files changed +56
-2
lines changed
2 files changed +56
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : Deploy Documentation
2
+
3
+ on :
4
+ push :
5
+ pull_request :
6
+ workflow_dispatch :
7
+
8
+ jobs :
9
+ vercel :
10
+ runs-on : ubuntu-latest
11
+
12
+ steps :
13
+ - name : Checkout Code
14
+ uses : actions/checkout@v4
15
+
16
+ - name : Cache Dependencies
17
+ uses : actions/cache@v4
18
+ with :
19
+ path : ~/.npm
20
+ key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
21
+ restore-keys : ${{ runner.os }}-node-
22
+
23
+ - name : Setup node
24
+ uses : actions/setup-node@v4.0.2
25
+ with :
26
+ cache : npm
27
+
28
+ - name : Build
29
+ run : |
30
+ yarn install --frozen-lockfile
31
+ npm run build
32
+
33
+ - name : Run Tests Locally
34
+ run : npm run test:docs
35
+
36
+ - name : Deploy to Staging
37
+ id : deploy-vercel-staging
38
+ uses : amondnet/vercel-action@v25
39
+ with :
40
+ vercel-token : ${{ secrets.VERCEL_TOKEN }}
41
+ vercel-org-id : ${{ secrets.VERCEL_ORG_ID }}
42
+ vercel-project-id : ${{ secrets.VERCEL_PROJECT_ID }}
43
+ scope : ${{ secrets.VERCEL_ORG_ID }}
44
+
45
+ - name : Deploy to Production
46
+ uses : amondnet/vercel-action@v25
47
+ id : deploy-vercel-production
48
+ if : github.event_name == 'push' && github.ref == 'refs/heads/main'
49
+ with :
50
+ vercel-token : ${{ secrets.VERCEL_TOKEN }}
51
+ vercel-org-id : ${{ secrets.VERCEL_ORG_ID }}
52
+ vercel-project-id : ${{ secrets.VERCEL_PROJECT_ID }}
53
+ vercel-args : " --prod"
54
+ scope : ${{ secrets.VERCEL_ORG_ID }}
Original file line number Diff line number Diff line change @@ -69,9 +69,9 @@ export function Feature({
69
69
>
70
70
<h1 className = " text-4xl font-bold" >
71
71
<span className = " bg-clip-text text-transparent bg-gradient-to-r from-pink-500 to-violet-500" >
72
- Thread
72
+ < span > Thread</ span >
73
73
</span >
74
- - v2.0.2
74
+ < span > & nbsp ; - v2.0.2</ span >
75
75
</h1 >
76
76
<div className = " text-center" >
77
77
<PackageManager />
You can’t perform that action at this time.
0 commit comments