Skip to content

Commit dc30f69

Browse files
authored
Merge pull request #1513 from SvMak/update-build-task
Updated build tasks in GH workflows
2 parents af42d06 + 9a7fa29 commit dc30f69

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Install dependencies
2424
run: npm ci
2525
- name: Build website
26-
run: npm run build
26+
run: npm run build -- --locale en
2727

2828
- name: Upload Build Artifact
2929
uses: actions/upload-pages-artifact@v3

.github/workflows/test-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ jobs:
2121
- name: Install dependencies
2222
run: npm ci
2323
- name: Test build website
24-
run: npm run build
24+
run: npm run build -- --locale en

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ This command starts a local development server and opens up a browser window. Mo
2727
### Build
2828

2929
```
30-
npm run build
30+
npm run build -- --locale en
3131
```
3232

3333
This command generates static content into the `build` directory and can be served using any static content hosting service.

0 commit comments

Comments
 (0)