File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 3636 # Multi line commands are folding for some reason, so we enforce new lines
3737 # For more predictable usage, use script files
3838 preview-cmd: |
39- export NODE_OPTIONS=--tls-cipher-list="DEFAULT@SECLEVEL=1"
40- make install;
41- make deploy;
42- make frontend;
39+ npm i -g yarn;
40+ export NODE_OPTIONS=--tls-cipher-list="DEFAULT@SECLEVEL=1";
41+ yarn install;
42+ yarn build:backend;
43+ yarn cdklocal bootstrap;
44+ yarn cdklocal deploy;
45+ yarn prepare:frontend-local;
46+ yarn build:frontend;
47+ yarn cdklocal bootstrap --app="node dist/aws-sdk-js-notes-app-frontend.js";
48+ yarn cdklocal deploy --app="node dist/aws-sdk-js-notes-app-frontend.js";
4349 distributionId=$(awslocal cloudfront list-distributions | jq -r '.DistributionList.Items[0].Id');
4450 echo LS_PREVIEW_URL=$AWS_ENDPOINT_URL/cloudfront/$distributionId/ >> $GITHUB_ENV;
You can’t perform that action at this time.
0 commit comments