ci(rollbar): Add Rollbar script during CI deploy
This commit is contained in:
parent
5807a948b6
commit
81cb9d3a75
@ -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 {} \;)
|
||||
|
||||
15
.circleci/rollbar.html
Normal file
15
.circleci/rollbar.html
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user