File tree Expand file tree Collapse file tree 4 files changed +39
-67
lines changed Expand file tree Collapse file tree 4 files changed +39
-67
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : Update documentation
2
+
3
+ on :
4
+ push :
5
+ branches : [master]
6
+
7
+ jobs :
8
+ deploy :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - name : Checkout code
12
+ uses : actions/checkout@v3
13
+
14
+ - name : Setup Nodejs
15
+ uses : actions/setup-node@v3
16
+ with :
17
+ node-version : ' 20.15.0'
18
+
19
+
20
+ - name : Install dependencies
21
+ run : npm install
22
+
23
+ - name : Build site
24
+ run : npm run build
25
+
26
+ - name : Deploy to site host
27
+ uses : airvzxf/ftp-deployment-action@latest
28
+ with :
29
+ server : ${{ secrets.FTP_SERVER }}
30
+ user : ${{ secrets.FTP_USERNAME }}
31
+ password : ${{ secrets.FTP_PASSWORD }}
32
+ local_dir : ' ./build'
33
+ remote_dir : ${{ secrets.CF_SITE_DIR }}
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ const router = createBrowserRouter(
25
25
} ,
26
26
/* ------------------------------------------------------------------------------------------------------ */
27
27
/* Blog pages link */
28
- {
28
+ /* {
29
29
path: "/blog/introducing-cortexflow",
30
30
element: <Article1 />,
31
31
errorElement: <ErrorPage />
@@ -44,7 +44,7 @@ const router = createBrowserRouter(
44
44
path: "/blog/revisiting-the-lambda-architecture",
45
45
element: <Article4 />,
46
46
errorElement: <ErrorPage />
47
- } ,
47
+ }, */
48
48
49
49
/* ------------------------------------------------------------------------------------------------------ */
50
50
/* NewsLetter */
@@ -53,11 +53,11 @@ const router = createBrowserRouter(
53
53
element : < InProgress /> ,
54
54
errorElement : < ErrorPage /> ,
55
55
} ,
56
- {
56
+ /* {
57
57
path: "/doc",
58
58
element: <InProgress />,
59
59
errorElement: <ErrorPage />,
60
- } ,
60
+ }, */
61
61
{
62
62
path : "/examples" ,
63
63
element : < InProgress /> ,
Original file line number Diff line number Diff line change @@ -48,18 +48,14 @@ const Homepg = () => {
48
48
< li className = "dropdown" >
49
49
< Link to = "/" >
50
50
{ " " }
51
- < img
52
- src = { comingsoon }
53
- alt = "coming soon"
54
- className = "comingsoon-flag"
55
- />
56
51
< span > Documentation</ span > { " " }
57
52
< i className = "bi bi-chevron-down toggle-dropdown" > </ i >
58
53
</ Link >
59
54
< ul >
60
55
{
56
+ // this must be an href
61
57
< li >
62
- < Link to = "/doc" > Documentation 1</ Link >
58
+ < a href = "/doc/ " > Documentation 1</ a >
63
59
</ li >
64
60
/* <li className="dropdown">
65
61
<Link to="#">
You can’t perform that action at this time.
0 commit comments