build: deploy on both environments (#5129)

* build: deploy on both environments

* build: missing whitespace

* build: add path filter

* build: add sentry env

* build: inherit secrets

* remove if check

* Revert "remove if check"

This reverts commit b2ffe1d611269ddaf13bdbfacfdb89cd40316c29.

* remove if check 2

* Fix Wrangler env

* Fix Wrangler env but for real this time

* Alternative method of getting URLs

* Check for environment instead

* Fix comment

* Clickable commit

* Set PREVIEW build var

* Fix commit shown in comment

* Fix linting errors

* )

* add preview banner

* prepr

* prepr again

* ..

---------

Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
This commit is contained in:
Michael H.
2026-01-16 02:40:10 +01:00
committed by GitHub
parent f65479ee15
commit 4ee7623837
11 changed files with 241 additions and 40 deletions

View File

@@ -42,22 +42,7 @@ export const DEFAULT_FEATURE_FLAGS = validateValues({
hideRussiaCensorshipBanner: false,
serverDiscovery: false,
disablePrettyProjectUrlRedirects: false,
// advancedRendering: true,
// externalLinksNewTab: true,
// notUsingBlockers: false,
// hideModrinthAppPromos: false,
// preferredDarkTheme: 'dark',
// hideStagingBanner: false,
// Project display modes
// modSearchDisplayMode: 'list',
// pluginSearchDisplayMode: 'list',
// resourcePackSearchDisplayMode: 'gallery',
// modpackSearchDisplayMode: 'list',
// shaderSearchDisplayMode: 'gallery',
// dataPackSearchDisplayMode: 'list',
// userProjectDisplayMode: 'list',
// collectionProjectDisplayMode: 'list',
hidePreviewBanner: false,
} as const)
export type FeatureFlag = keyof typeof DEFAULT_FEATURE_FLAGS