Skip to content

Commit aa7b42f

Browse files
committed
Ignore errors
1 parent 2a9ebf3 commit aa7b42f

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff 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:

0 commit comments

Comments
 (0)