Skip to content

Commit

Permalink
fix(root): update Docker command in release preparation script (#7657)
Browse files Browse the repository at this point in the history
  • Loading branch information
merrcury authored Feb 5, 2025
1 parent fc18806 commit b3f4e0a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/prepare-self-hosted-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,10 @@ jobs:
'./node_modules/@taskforcesh/bullmq-pro' # Add more patterns as needed
)
for pattern in "${patterns[@]}"; do
if docker run --rm novu-$SERVICE_COMMON_NAME sh -c "ls $pattern 2>/dev/null"; then
if docker run --rm entrypoint sh novu-$SERVICE_COMMON_NAME -c "ls $pattern 2>/dev/null"; then
echo "::error::'$pattern' files were detected in ${{ matrix.name }}."
exit 1
fi
fi
done
echo "No matching EE files found in the Docker image ${{ matrix.name }}"
Expand Down
1 change: 1 addition & 0 deletions apps/api/src/config/env.validators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ export const envValidators = {
NOVU_INVITE_TEAM_MEMBER_NUDGE_TRIGGER_IDENTIFIER: str({ default: undefined }),
SUBSCRIBER_WIDGET_JWT_EXPIRATION_TIME: str({ default: '15 days' }),
NOVU_REGION: str({ default: 'local' }),
NOVU_SECRET_KEY: str({ default: '' }),

// Novu Cloud third party services
...(processEnv.IS_SELF_HOSTED !== 'true' &&
Expand Down

0 comments on commit b3f4e0a

Please sign in to comment.