File tree Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 30
30
NETLIFY_AUTH_TOKEN : ${{ secrets.NETLIFY_AUTH_TOKEN }}
31
31
NETLIFY_SITE_ID : ${{ vars.NETLIFY_SITE_ID }}
32
32
with :
33
- args : deploy --dir=dist
33
+ args : deploy --dir=dist --no-build
34
34
35
35
- name : Find comment
36
36
uses : peter-evans/find-comment@v3
Original file line number Diff line number Diff line change 31
31
NETLIFY_AUTH_TOKEN : ${{ secrets.NETLIFY_AUTH_TOKEN }}
32
32
NETLIFY_SITE_ID : ${{ vars.NETLIFY_SITE_ID }}
33
33
with :
34
- args : deploy --dir=dist --alias="$GITHUB_REF_NAME"
34
+ args : deploy --dir=dist --alias="$GITHUB_REF_NAME" --no-build
Original file line number Diff line number Diff line change @@ -13,8 +13,9 @@ export const LanguageSwitch: FC = () => {
13
13
const relativePath = normalizedPathname . startsWith ( baseUrl )
14
14
? normalizedPathname . slice ( baseUrl . length )
15
15
: normalizedPathname ;
16
+ const relativePathWithoutTrailingSlash = relativePath . replace ( / \/ $ / , '' ) ;
16
17
const isGerman = i18n . currentLocale === 'de' ;
17
- const switchTo = `${ baseUrlWithoutLanguage } ${ isGerman ? 'en/' : '' } ${ relativePath } ` ;
18
+ const switchTo = `${ baseUrlWithoutLanguage } ${ isGerman ? 'en/' : '' } ${ relativePathWithoutTrailingSlash } ` ;
18
19
19
20
return (
20
21
< div >
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ const HomepageButtons: FunctionComponent = () => {
39
39
> </ KolLinkButton >
40
40
< KolLinkButton
41
41
className = "w-72"
42
- _href = { `/${ VERSION_ID } /docs/ ` }
42
+ _href = { `/${ VERSION_ID } /docs` }
43
43
_label = { translate ( {
44
44
id : 'custom.documentation-button' ,
45
45
} ) }
You can’t perform that action at this time.
0 commit comments