Limit github actions on PR

This commit is contained in:
Chocobozzz
2020-08-06 09:47:35 +02:00
parent d632a14729
commit fc3b14e413
3 changed files with 9 additions and 2 deletions

View File

@@ -154,7 +154,9 @@ if [ -z ${1+x} ] || ([ "$1" != "--light" ] && [ "$1" != "--analyze-bundle" ]); t
done
fi
cd ../ && npm run build:embed && cd client/
if [ ! -z ${1+x} ] && [ "$1" == "--analyze-bundle" ]; then
cd ../ && npm run build:embed && cd client/
fi
# Copy runtime locales
cp -r "./src/locale" "./dist/locale"