Skip to content

Commit

Permalink
Move addLastUpdated script to preBuild section
Browse files Browse the repository at this point in the history
  • Loading branch information
timngyn-amzn committed May 27, 2022
1 parent 4a3dfa7 commit 69687ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion amplify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ frontend:
preBuild:
commands:
- yarn install
- node tasks/addLastUpdatedToMdxFiles.js
build:
commands:
- NODE_ENV=production yarn build
- node tasks/build-algolia-search.mjs
- node tasks/addLastUpdatedToMdxFiles.js
artifacts:
# IMPORTANT - Please verify your build output directory
baseDirectory: /client/www/next-build
Expand Down

0 comments on commit 69687ed

Please sign in to comment.