build: remove image preview config (#2861)

This commit is contained in:
Alex Yang 2023-06-27 10:59:24 +08:00 committed by GitHub
parent d46b6c4863
commit 53488a1498
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 0 additions and 9 deletions

View File

@ -60,7 +60,6 @@ jobs:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
API_SERVER_PROFILE: prod
ENABLE_TEST_PROPERTIES: false
ENABLE_IMAGE_PREVIEW_MODAL: true
ENABLE_BOOKMARK_OPERATION: true
RELEASE_VERSION: ${{ needs.set-build-version.outputs.version }}

View File

@ -56,7 +56,6 @@ jobs:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
API_SERVER_PROFILE: prod
ENABLE_TEST_PROPERTIES: false
ENABLE_IMAGE_PREVIEW_MODAL: ${{ github.event.inputs.build-type == 'stable' && false || true }}
ENABLE_BOOKMARK_OPERATION: true
RELEASE_VERSION: ${{ github.event.inputs.version }}

View File

@ -24,9 +24,6 @@ export const buildFlags = {
(process.env.ENABLE_ALL_PAGE_FILTER
? process.env.ENABLE_ALL_PAGE_FILTER === 'true'
: false),
enableImagePreviewModal: process.env.ENABLE_IMAGE_PREVIEW_MODAL
? process.env.ENABLE_IMAGE_PREVIEW_MODAL === 'true'
: true,
enableTestProperties: process.env.ENABLE_TEST_PROPERTIES
? process.env.ENABLE_TEST_PROPERTIES === 'true'
: true,

View File

@ -48,9 +48,6 @@
{
"env": "ENABLE_ALL_PAGE_FILTER"
},
{
"env": "ENABLE_IMAGE_PREVIEW_MODAL"
},
{
"env": "ENABLE_TEST_PROPERTIES"
},

View File

@ -41,7 +41,6 @@ export const buildFlagsSchema = z.object({
*/
enableAllPageFilter: z.boolean(),
enablePlugin: z.boolean(),
enableImagePreviewModal: z.boolean(),
enableTestProperties: z.boolean(),
enableBroadcastChannelProvider: z.boolean(),
enableDebugPage: z.boolean(),