File tree Expand file tree Collapse file tree 8 files changed +16
-87
lines changed Expand file tree Collapse file tree 8 files changed +16
-87
lines changed Original file line number Diff line number Diff line change 6060 cache-to : type=gha,mode=max
6161 build-args : |
6262 NEXT_PUBLIC_ROOT_URL="https://docs.plural.sh"
63+ NEXT_PUBLIC_GA_ID=${{ vars.NEXT_PUBLIC_GA_ID }}
64+ NEXT_PUBLIC_ALGOLIA_APP_ID=${{ vars.NEXT_PUBLIC_ALGOLIA_APP_ID }}
65+ NEXT_PUBLIC_ALGOLIA_APP_ID_KEY=${{ vars.NEXT_PUBLIC_ALGOLIA_APP_ID_KEY }}
66+ NEXT_PUBLIC_ALGOLIA_INDEX_NAME=${{ vars.NEXT_PUBLIC_ALGOLIA_INDEX_NAME }}
Original file line number Diff line number Diff line change @@ -12,7 +12,16 @@ RUN yarn install --immutable
1212COPY . .
1313
1414ARG NEXT_PUBLIC_ROOT_URL
15+ ARG NEXT_PUBLIC_GA_ID
16+ ARG NEXT_PUBLIC_ALGOLIA_APP_ID
17+ ARG NEXT_PUBLIC_ALGOLIA_APP_ID_KEY
18+ ARG NEXT_PUBLIC_ALGOLIA_INDEX_NAME
19+
1520ENV NEXT_PUBLIC_ROOT_URL=$NEXT_PUBLIC_ROOT_URL
21+ ENV NEXT_PUBLIC_GA_ID=$NEXT_PUBLIC_GA_ID
22+ ENV NEXT_PUBLIC_ALGOLIA_APP_ID=$NEXT_PUBLIC_ALGOLIA_APP_ID
23+ ENV NEXT_PUBLIC_ALGOLIA_APP_ID_KEY=$NEXT_PUBLIC_ALGOLIA_APP_ID_KEY
24+ ENV NEXT_PUBLIC_ALGOLIA_INDEX_NAME=$NEXT_PUBLIC_ALGOLIA_INDEX_NAME
1625
1726RUN yarn build
1827
Original file line number Diff line number Diff line change 1313 },
1414 "/overview/management-api-reference" : {
1515 "relPath" : " /overview/management-api-reference.md" ,
16- "lastmod" : " 2025-06-12T07:56:59 .000Z"
16+ "lastmod" : " 2025-07-09T01:30:04 .000Z"
1717 },
1818 "/overview/agent-api-reference" : {
1919 "relPath" : " /overview/agent-api-reference.md" ,
117117 },
118118 "/plural-features/continuous-deployment/lua" : {
119119 "relPath" : " /plural-features/continuous-deployment/lua.md" ,
120- "lastmod" : " 2025-06-09T19:18:57 .000Z"
120+ "lastmod" : " 2025-07-01T14:46:40 .000Z"
121121 },
122122 "/plural-features/continuous-deployment/global-service" : {
123123 "relPath" : " /plural-features/continuous-deployment/global-service.md" ,
Original file line number Diff line number Diff line change 5656 "lodash" : " 4.17.21" ,
5757 "memoize-one" : " 6.0.0" ,
5858 "next" : " 14.2.15" ,
59- "posthog-js" : " 1.68.1" ,
6059 "raw-loader" : " 4.0.2" ,
6160 "react" : " 18.3.1" ,
6261 "react-dom" : " 18.3.1" ,
Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ import {
3838 isGithubRepoData ,
3939} from '@src/components/GithubStars'
4040import GlobalStyles from '@src/components/GlobalStyles'
41- import { usePosthog } from '@src/components/hooks/usePosthog'
4241import HtmlHead from '@src/components/HtmlHead'
4342import MainContent from '@src/components/MainContent'
4443import PageFooter from '@src/components/PageFooter'
@@ -111,7 +110,6 @@ const Link = forwardRef(
111110)
112111
113112function App ( { Component, pageProps = { } , swrConfig } : MyAppProps ) {
114- usePosthog ( )
115113 const router = useRouter ( )
116114 const markdoc = pageProps ?. markdoc
117115 const [ isClient , setIsClient ] = useState ( false )
Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ export default function MainContent({
124124 < EditOnGithubLink
125125 target = "_blank"
126126 rel = "noopener noreferrer"
127- href = { `https://github.com/pluralsh/documentation/blob/${ process . env . NEXT_PUBLIC_GITHUB_BRANCH_NAME } /pages${ markdoc . file . path } ` }
127+ href = { `https://github.com/pluralsh/documentation/blob/main /pages${ markdoc . file . path } ` }
128128 >
129129 < GitHubLogoIcon
130130 size = { 20 }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -9264,13 +9264,6 @@ __metadata:
92649264 languageName: node
92659265 linkType: hard
92669266
9267- "fflate@npm:^0.4.1":
9268- version: 0.4.8
9269- resolution: "fflate@npm:0.4.8"
9270- checksum: 29d8cbe44d5e7f53e7f5a160ac7f9cc025480c7b3bfd85c5f898cbe20dfa2dad4732daa534982664bf30b35896a90af44ea33ede5d94c5ffd1b8b0c0a0a56ca2
9271- languageName: node
9272- linkType: hard
9273-
92749267"figures@npm:^3.0.0":
92759268 version: 3.2.0
92769269 resolution: "figures@npm:3.2.0"
@@ -12976,15 +12969,6 @@ __metadata:
1297612969 languageName: node
1297712970 linkType: hard
1297812971
12979- "posthog-js@npm:1.68.1":
12980- version: 1.68.1
12981- resolution: "posthog-js@npm:1.68.1"
12982- dependencies:
12983- fflate: ^0.4.1
12984- checksum: 8fc57852deb97a7ce091867df413042f8579c299f7e7f9a6564a64b4ed2662e2fd8af6829f5b1bfc4128eb2ddd64785dba321f503211f686d87be7cc099c42e5
12985- languageName: node
12986- linkType: hard
12987-
1298812972"prelude-ls@npm:^1.2.1":
1298912973 version: 1.2.1
1299012974 resolution: "prelude-ls@npm:1.2.1"
@@ -14057,7 +14041,6 @@ __metadata:
1405714041 memoize-one: 6.0.0
1405814042 next: 14.2.15
1405914043 npm-run-all: 4.1.5
14060- posthog-js: 1.68.1
1406114044 prettier: 3.2.5
1406214045 raw-loader: 4.0.2
1406314046 react: 18.3.1
You can’t perform that action at this time.
0 commit comments