2
.github/workflows/affine-keck.yml
vendored
2
.github/workflows/affine-keck.yml
vendored
@@ -64,7 +64,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
file: ./.github/deployment/Dockerfile-affine
|
file: ./.github/deployment/Dockerfile-affine-keck
|
||||||
tags: ${{ env.LOCAL_CACHE }}
|
tags: ${{ env.LOCAL_CACHE }}
|
||||||
target: AFFiNE
|
target: AFFiNE
|
||||||
|
|
||||||
|
|||||||
@@ -170,6 +170,9 @@ module.exports = function (webpackConfig) {
|
|||||||
),
|
),
|
||||||
new webpack.DefinePlugin({
|
new webpack.DefinePlugin({
|
||||||
JWT_DEV: !isProd,
|
JWT_DEV: !isProd,
|
||||||
|
'process.env.AFFINE_FEATURE_FLAG_TOKEN': JSON.stringify(
|
||||||
|
process.env['AFFINE_FEATURE_FLAG_TOKEN']
|
||||||
|
),
|
||||||
global: {},
|
global: {},
|
||||||
}),
|
}),
|
||||||
isProd &&
|
isProd &&
|
||||||
|
|||||||
Reference in New Issue
Block a user