chore(pr): add a preview comment on PR if they are previewable

This commit is contained in:
Brice Maron 2022-09-04 23:38:47 +02:00
parent 1affcec1de
commit f878909318
2 changed files with 18 additions and 9 deletions

View file

@ -14,7 +14,7 @@ npm run generate:editor-layer-index &&
npm run generate &&
npm run generate:translations &&
npm run test &&
npm run generate:layouts
npm run generate:layouts
if [ $? -ne 0 ]; then
echo "ERROR - stopping the build"
@ -28,8 +28,6 @@ cp -r assets/svg/ dist/assets/svg/
cp -r assets/tagRenderings/ dist/assets/tagRenderings/
cp assets/*.png dist/assets/
cp assets/*.svg dist/assets/
cp assets/generated/*.png dist/assets/generated/
cp assets/generated/*.svg dist/assets/generated/
SRC_MAPS="--no-source-maps"
BRANCH=`git rev-parse --abbrev-ref HEAD`