File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed
Deployment/_github/workflows
Plugins/sentry/src/plugins Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 4545 run : |
4646 touch .env.production
4747 echo "NODE_ENV=production" >> .env.production
48+ echo "VUE_APP_ENV=vue_production" >> .env.production
49+ echo "VUE_APP_RELEASE=${GITHUB_SHA}" >> .env.production
4850 echo "VUE_APP_ROOT_API=" >> .env.production
4951 <%_ if (options.plugins.includes('analytics')) { _ % >
5052 echo "VUE_APP_ANALYTICS=" >> .env.production
Original file line number Diff line number Diff line change 4545 run : |
4646 touch .env.production
4747 echo "NODE_ENV=production" >> .env.production
48+ echo "VUE_APP_ENV=vue_test" >> .env.production
49+ echo "VUE_APP_RELEASE=${GITHUB_SHA}" >> .env.production
4850 echo "VUE_APP_ROOT_API=" >> .env.production
4951 <%_ if (options.plugins.includes('analytics')) { _ % >
5052 echo "VUE_APP_ANALYTICS=" >> .env.production
Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ import Vue from 'vue';
44
55if ( process . env . VUE_APP_SENTRY ) {
66 Sentry . init ( {
7+ environment : process . env . VUE_APP_ENV ,
8+ release : process . env . VUE_APP_RELEASE ,
79 dsn : process . env . VUE_APP_SENTRY ,
810 integrations : [ new Integrations . Vue ( { Vue, attachProps : true } ) ] ,
911 } ) ;
You can’t perform that action at this time.
0 commit comments