Set the correct Sentry tag when deploying auth-release
...in the photos-web CF pages project.
This commit is contained in:
parent
e59e7436eb
commit
9acc0756c9
1 changed files with 9 additions and 0 deletions
|
@ -16,6 +16,15 @@ rm -rf out
|
|||
|
||||
if test "$CF_PAGES_BRANCH" = "auth-release"
|
||||
then
|
||||
# By default, for preview deployments the NEXT_PUBLIC_APP_ENV is set to
|
||||
# "test" in the CF environment variables. For production deployments of the
|
||||
# auth app, reset this to "production".
|
||||
#
|
||||
# This is not needed for the default `yarn export:photos` case, because
|
||||
# there the actual production deployment runs without NEXT_PUBLIC_APP_ENV
|
||||
# being set to anything (and the other preview deployments have
|
||||
# NEXT_PUBLIC_APP_ENV set to "test", as is correct).
|
||||
export NEXT_PUBLIC_APP_ENV=production
|
||||
yarn export:auth
|
||||
cp -R apps/auth/out .
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue