mirror of
https://github.com/tgbot-collection/YYeTsBot.git
synced 2025-11-25 03:15:05 +08:00
add pre_build hook
This commit is contained in:
13
hooks/pre_build
Normal file
13
hooks/pre_build
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
cat << EOF >> YYeTsFE/.env
|
||||
SENTRY_ORG=$SENTRY_ORG
|
||||
SENTRY_PROJECT=$SENTRY_PROJECT
|
||||
SENTRY_AUTH_TOKEN=$SENTRY_AUTH_TOKEN
|
||||
|
||||
|
||||
REACT_APP_SENTRY_DSN=$REACT_APP_SENTRY_DSN
|
||||
REACT_APP_DOMAIN=$REACT_APP_DOMAIN
|
||||
REACT_APP_GA=$REACT_APP_GA
|
||||
# sourcemap
|
||||
GENERATE_SOURCEMAP=$GENERATE_SOURCEMAP
|
||||
EOF
|
||||
Reference in New Issue
Block a user