Skip to content

Commit 2304462

Browse files
committed
Add datasheet rendering step to production build
1 parent ec79021 commit 2304462

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/deploy-prd.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ jobs:
2222
cache: "npm"
2323
cache-dependency-path: "**/package-lock.json"
2424

25+
- name: Render Datasheets
26+
run: cd ${GITHUB_WORKSPACE}/scripts/datasheet-rendering;./render-datasheets.sh
27+
2528
- name: Gatsby main cache
2629
uses: actions/cache@v2
2730
id: gatsby-cache-folder
@@ -41,8 +44,7 @@ jobs:
4144
${{ runner.os }}-public-gatsby-
4245
4346
- run: npm install
44-
45-
- run: RENDER_DATASHEETS=true npm run build
47+
- run: npm run build
4648

4749
- name: Configure AWS Credentials
4850
uses: aws-actions/configure-aws-credentials@v1

0 commit comments

Comments
 (0)