ci(rollbar): Add Rollbar script during CI deploy

This commit is contained in:
Erik Ziegler committed 2019-06-27 09:41:21 +02:00
1 parent 5807a948b6
commit 81cb9d3a75
2 files changed
+16

No files matched your search

+1
View File
@@ -170,6 +170,7 @@ jobs:
name: 'Build Demo Site, Upload SourceMaps, Send Deploy Notification'
command: |
yarn build:demo:ci
perl -i -pe 's#</head>#`cat .circleci/rollbar.html` #e' build/index.html
export FILE_1=$(find ./build/static/js -type f -name "2.*.js" -exec basename {} \;)
export FILE_MAIN=$(find ./build/static/js -type f -name "main.*.js" -exec basename {} \;)
export FILE_RUNTIME_MAIN=$(find ./build/static/js -type f -name "runtime~main.*.js" -exec basename {} \;)