Skip to content

Commit eb81969

Browse files
committed
Adds doc sync to CI
1 parent 84d1f70 commit eb81969

4 files changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/CI.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ jobs:
3434
# Verify dependencies are hooked up right
3535
- run: node test/verifyPackageVersions.js
3636

37+
# Grab localizations
38+
- run: yarn docs-sync pull microsoft/TypeScript-Website-localizations#main 1
39+
3740
# Build the packages
3841
- run: yarn bootstrap
3942
- run: yarn workspace typescriptlang-org build

.github/workflows/deploy-prod.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
- name: Build website v2
2323
run: |
2424
yarn install
25+
yarn docs-sync pull microsoft/TypeScript-Website-localizations#main 1
2526
yarn bootstrap
2627
yarn build
2728
yarn build-site

.github/workflows/v2-merged-staging.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
- name: Prepare website v2
2727
run: |
2828
yarn install
29+
yarn docs-sync pull microsoft/TypeScript-Website-localizations#main 1
2930
yarn bootstrap
3031
yarn build
3132
env:

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ code .
1717

1818
# Then:
1919
yarn bootstrap
20+
# Optional, grab the translations:
21+
yarn docs-sync pull microsoft/TypeScript-Website-localizations#main 1
22+
23+
# Now you can start up the website
2024
yarn start
2125
```
2226

0 commit comments

Comments
 (0)