Skip to content

Commit 5a6609b

Browse files
action
enable ui build for all languages
1 parent 78f0d26 commit 5a6609b

File tree

6 files changed

+19
-5
lines changed

6 files changed

+19
-5
lines changed

.github/workflows/build-ui.yml

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,20 +25,34 @@ jobs:
2525
run: npm i gulp-cli ./en
2626
- name: Build en UI
2727
run: gulp bundle -f ./en/gulpfile.js
28-
- name: Move built folder to public
29-
run: mv en/build/ui-bundle.zip public/en/
28+
- name: Move built folder to _public
29+
run: mv en/build/ui-bundle.zip _public/en/
3030
# build fr website
3131
- name: Install Gulp locally to build the UI
3232
run: npm i gulp-cli ./fr
3333
- name: Build fr UI
3434
run: gulp bundle -f ./fr/gulpfile.js
35-
- name: Move built folder to public
36-
run: mv fr/build/ui-bundle.zip public/fr/
35+
- name: Move built folder to _public
36+
run: mv fr/build/ui-bundle.zip _public/fr/
37+
# build es website
38+
- name: Install Gulp locally to build the UI
39+
run: npm i gulp-cli ./es
40+
- name: Build es UI
41+
run: gulp bundle -f ./es/gulpfile.js
42+
- name: Move built folder to _public
43+
run: mv es/build/ui-bundle.zip _public/es/
44+
# build zh website
45+
- name: Install Gulp locally to build the UI
46+
run: npm i gulp-cli ./zh
47+
- name: Build zh UI
48+
run: gulp bundle -f ./zh/gulpfile.js
49+
- name: Move built folder to _public
50+
run: mv zh/build/ui-bundle.zip _public/zh/
3751
# download UIs
3852
- name: Upload GitHub Pages Artifact
3953
uses: actions/upload-pages-artifact@v3
4054
with:
41-
path: public
55+
path: _public
4256
- name: Deploy to GitHub Pages
4357
id: deployment
4458
uses: actions/deploy-pages@v4
File renamed without changes.
File renamed without changes.

_public/fr/.gitkeep

Whitespace-only changes.
File renamed without changes.

_public/zh/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)