-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expand demo to include a root project
- Loading branch information
1 parent
60479d1
commit 72f866b
Showing
9 changed files
with
102 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,47 @@ | ||
# two-lang-demo | ||
# Welcome | ||
|
||
This project demonstrates configuring multiple Retype projects and deploying to GitHub Pages. | ||
|
||
## Workflow | ||
|
||
The following `.github/workflows/retype-action.yml` is used: | ||
|
||
```sh | ||
name: Publish Retype powered website to GitHub Pages | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
publish: | ||
name: Publish to retype branch | ||
|
||
runs-on: ubuntu-latest | ||
|
||
permissions: | ||
contents: write | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- uses: retypeapp/action-build@multi | ||
with: | ||
config: fr/retype.yml | ||
subdir: fr | ||
|
||
- uses: retypeapp/action-build@multi | ||
with: | ||
config: ko/retype.yml | ||
subdir: ko | ||
|
||
- uses: retypeapp/action-build@multi | ||
|
||
- uses: retypeapp/action-github-pages@latest | ||
with: | ||
update-branch: true | ||
|
||
``` |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# French | ||
|
||
Add your French documentation within this project. | ||
|
||
See also: | ||
- [English](../) documentation | ||
- [Korean](../ko/) documentation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
input: ./ | ||
output: .retype/fr | ||
url: /two-lang-demo/fr | ||
branding: | ||
title: Docs | ||
label: FR | ||
edit: | ||
repo: https://github.com/retypeapp/two-lang-demo | ||
base: /fr | ||
links: | ||
- text: FR | ||
link: ../fr | ||
- text: KO | ||
link: ../ko | ||
footer: | ||
copyright: "© Copyright {{ year }}. All rights reserved." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
input: ./ | ||
output: .retype | ||
url: /two-lang-demo/ | ||
branding: | ||
title: Docs | ||
label: EN | ||
exclude: | ||
- "fr" | ||
- "ko" | ||
edit: | ||
repo: https://github.com/retypeapp/two-lang-demo | ||
links: | ||
- text: FR | ||
link: fr/ | ||
- text: KO | ||
link: ko/ | ||
footer: | ||
copyright: "© Copyright {{ year }}. All rights reserved." |