Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…tive/aiid into fix-citeation-rich-text-copy
  • Loading branch information
lmcnulty committed Dec 19, 2024
2 parents 3cf4604 + ef1846d commit 4c20605
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 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"
2 changes: 1 addition & 1 deletion .github/workflows/test-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
NOTIFICATIONS_SENDER: [email protected]
SITE_URL: http://localhost:8000
NEXTAUTH_URL: http://localhost:8000
NEXTAUTH_SECRET: dummy
NEXTAUTH_SECRET: 678x1irXYWeiOqTwCv1awvkAUbO9eHa5xzQEYhxhMms=

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
Expand Down
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 4c20605

Please sign in to comment.