aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/build
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-08-06 09:47:35 +0200
committerChocobozzz <me@florianbigard.com>2020-08-06 09:47:46 +0200
commitfc3b14e413e45fa239bce359a5648644afaf4c4c (patch)
tree95142b6c60513f1997f466786cdf9993db0f5bb8 /scripts/build
parentd632a147293b36e46549a3ead754ef52d8fea735 (diff)
downloadPeerTube-fc3b14e413e45fa239bce359a5648644afaf4c4c.tar.gz
PeerTube-fc3b14e413e45fa239bce359a5648644afaf4c4c.tar.zst
PeerTube-fc3b14e413e45fa239bce359a5648644afaf4c4c.zip
Limit github actions on PR
Diffstat (limited to 'scripts/build')
-rwxr-xr-xscripts/build/client.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/build/client.sh b/scripts/build/client.sh
index 75da6765c..b2c2e3bfb 100755
--- a/scripts/build/client.sh
+++ b/scripts/build/client.sh
@@ -154,7 +154,9 @@ if [ -z ${1+x} ] || ([ "$1" != "--light" ] && [ "$1" != "--analyze-bundle" ]); t
154 done 154 done
155fi 155fi
156 156
157cd ../ && npm run build:embed && cd client/ 157if [ ! -z ${1+x} ] && [ "$1" == "--analyze-bundle" ]; then
158 cd ../ && npm run build:embed && cd client/
159fi
158 160
159# Copy runtime locales 161# Copy runtime locales
160cp -r "./src/locale" "./dist/locale" 162cp -r "./src/locale" "./dist/locale"