File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 1- name : Update Next.js English Documentation
1+ name : Sync Next.js Official Documentation
22
33on :
44 workflow_dispatch : # Manual trigger
5757 rsync -av --delete nextjs-v13/docs/ apps/docs/content/en/docs/13/
5858 rm -rf nextjs-v13
5959
60+ - name : Setup Tools
61+ uses : ./.github/actions/setup
62+
63+ - name : Sync blog & learn
64+ if : steps.check_branch.outputs.branch_exists == 'false'
65+ run : |
66+ node packages/crawler/dist/index.js
67+
6068 - name : Find available translation locales
6169 if : steps.check_branch.outputs.branch_exists == 'false'
6270 id : find_locales
@@ -79,10 +87,10 @@ jobs:
7987 if : steps.check_branch.outputs.branch_exists == 'false'
8088 run : |
8189 # Get list of renamed files from git status
82- RENAMES=$(git status --porcelain | grep -E "^R[[:space:]]+apps/docs/content/en/docs " | sed 's/^R[[:space:]]*//')
90+ RENAMES=$(git status --porcelain | grep -E "^R[[:space:]]+apps/docs/content/en" | sed 's/^R[[:space:]]*//')
8391
8492 # Get list of deleted files from git status
85- DELETES=$(git status --porcelain | grep -E "^D[[:space:]]+apps/docs/content/en/docs " | sed 's/^D[[:space:]]*//')
93+ DELETES=$(git status --porcelain | grep -E "^D[[:space:]]+apps/docs/content/en" | sed 's/^D[[:space:]]*//')
8694
8795 # Generate current timestamp in ISO format
8896 CURRENT_TIMESTAMP=$(date -u +"%Y-%m-%dT%H:%M:%S.000Z")
Original file line number Diff line number Diff line change 1818 "docs:dev" : " pnpm --filter @next-i18n/docs dev" ,
1919 "docs:build" : " pnpm --filter @next-i18n/docs build" ,
2020 "docs:start" : " pnpm --filter @next-i18n/docs start" ,
21- "docs:update-search-index" : " pnpm --filter @next-i18n/docs update-search-index"
21+ "docs:update-search-index" : " pnpm --filter @next-i18n/docs update-search-index" ,
22+ "crawler" : " node packages/crawler/dist/index.js"
2223 },
2324 "keywords" : [],
2425 "devDependencies" : {
You can’t perform that action at this time.
0 commit comments