Skip to content

Commit

Permalink
Merge branch 'staging' into feature/translations-db-refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
pdcp1 committed Dec 19, 2024
2 parents 6d1c92c + ef1846d commit 862bdbf
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Configure Dependabot to target the staging branch of this repository.
# See configuration options:
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
target-branch: "staging"
schedule:
interval: "weekly"
4 changes: 2 additions & 2 deletions site/gatsby-site/server/emails/templates/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const insertContent= (content: string, variables: any): string => {
AI INCIDENT DATABASE
</div>
</div>
<div style="padding: 32px;">
<div style="padding: 32px 8px;">
${content}
</div>
</div>
Expand All @@ -47,7 +47,7 @@ const insertContent= (content: string, variables: any): string => {
// These styles will be used across multiple email templates,
// so they get defined outside the getTemplate function.
const bodyStyle: string = ignoreWhitespace(`
font-family: karla;
font-family: karla, sans-serif;
padding: 16px;
`);

Expand Down
2 changes: 1 addition & 1 deletion site/gatsby-site/src/scripts/sendEmailTest.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { sendEmail } from '../../server/fields/common.ts';
import { sendEmail } from '../../server/emails';

// from site/gatsby-site, run with
// TEST_EMAIL_TO_ADDRESS=<address> dotenv run <path to>/npx ts-node src/scripts/sendEmailTest.js
Expand Down

0 comments on commit 862bdbf

Please sign in to comment.