File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -88,15 +88,14 @@ jobs:
8888 - name : Build English locale
8989 if : matrix.locale == 'en'
9090 run : yarn build --locale ${{ matrix.locale }}
91- - name : Attempt to copy docs translations
92- continue-on-error : true
93- if : matrix.locale != 'en'
94- run : mv i18n/${{ matrix.locale }}/docusaurus-plugin-content-docs/current i18n/${{ matrix.locale }}/docusaurus-plugin-content-docs/$LATEST_VERSION
9591 - name : Build non-English locale
9692 if : matrix.locale != 'en'
9793 env :
9894 LOCALE : ${{ matrix.locale }}
99- run : yarn build --locale ${{ matrix.locale }} --out-dir ./build/${{ matrix.locale }}
95+ run : |
96+ echo $LATEST_VERSION
97+ mv i18n/${{ matrix.locale }}/docusaurus-plugin-content-docs/current i18n/${{ matrix.locale }}/docusaurus-plugin-content-docs/$LATEST_VERSION || true
98+ yarn build --locale ${{ matrix.locale }} --out-dir ./build/${{ matrix.locale }}
10099 - name : Save build folder
101100 uses : actions/upload-artifact@v3
102101 with :
You can’t perform that action at this time.
0 commit comments