File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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(
2525 } ,
2626 /* ------------------------------------------------------------------------------------------------------ */
2727 /* Blog pages link */
28- {
28+ /* {
2929 path: "/blog/introducing-cortexflow",
3030 element: <Article1 />,
3131 errorElement: <ErrorPage />
@@ -44,7 +44,7 @@ const router = createBrowserRouter(
4444 path: "/blog/revisiting-the-lambda-architecture",
4545 element: <Article4 />,
4646 errorElement: <ErrorPage />
47- } ,
47+ }, */
4848
4949 /* ------------------------------------------------------------------------------------------------------ */
5050 /* NewsLetter */
@@ -53,11 +53,11 @@ const router = createBrowserRouter(
5353 element : < InProgress /> ,
5454 errorElement : < ErrorPage /> ,
5555 } ,
56- {
56+ /* {
5757 path: "/doc",
5858 element: <InProgress />,
5959 errorElement: <ErrorPage />,
60- } ,
60+ }, */
6161 {
6262 path : "/examples" ,
6363 element : < InProgress /> ,
Original file line number Diff line number Diff line change @@ -48,18 +48,14 @@ const Homepg = () => {
4848 < li className = "dropdown" >
4949 < Link to = "/" >
5050 { " " }
51- < img
52- src = { comingsoon }
53- alt = "coming soon"
54- className = "comingsoon-flag"
55- />
5651 < span > Documentation</ span > { " " }
5752 < i className = "bi bi-chevron-down toggle-dropdown" > </ i >
5853 </ Link >
5954 < ul >
6055 {
56+ // this must be an href
6157 < li >
62- < Link to = "/doc" > Documentation 1</ Link >
58+ < a href = "/doc/ " > Documentation 1</ a >
6359 </ li >
6460 /* <li className="dropdown">
6561 <Link to="#">
You can’t perform that action at this time.
0 commit comments