Skip to content

Commit

Permalink
Merge pull request #2951 from responsible-ai-collaborative/staging
Browse files Browse the repository at this point in the history
Deploy to Production
  • Loading branch information
kepae authored Jul 11, 2024
2 parents 989e4a9 + 18169c6 commit faff383
Show file tree
Hide file tree
Showing 31 changed files with 1,540 additions and 1,226 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/test-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,15 @@ jobs:
- name: Jest run
run: npm run test:api:ci
env:
REALM_APP_ID: ${{ vars.GATSBY_REALM_APP_ID }}
REALM_API_APP_ID: ${{ vars.REALM_API_APP_ID }}
REALM_API_GROUP_ID: ${{ vars.REALM_API_GROUP_ID }}
REALM_API_PUBLIC_KEY: ${{ secrets.REALM_API_PUBLIC_KEY }}
REALM_API_PRIVATE_KEY: ${{ secrets.REALM_API_PRIVATE_KEY }}
REALM_GRAPHQL_API_KEY: ${{ secrets.REALM_GRAPHQL_API_KEY }}
REALM_APP_ID: ""
REALM_API_APP_ID: ""
REALM_API_GROUP_ID: ""
REALM_API_PUBLIC_KEY: ""
REALM_API_PRIVATE_KEY: ""
REALM_GRAPHQL_API_KEY: ""
API_MONGODB_CONNECTION_STRING: "" # dinamically set by globalSetup.ts
E2E_ADMIN_USERNAME: ${{ secrets.E2E_ADMIN_USERNAME }}
E2E_ADMIN_PASSWORD: ${{ secrets.E2E_ADMIN_PASSWORD }}
E2E_ADMIN_USERNAME: ""
E2E_ADMIN_PASSWORD: ""
ROLLBAR_POST_SERVER_ITEM_ACCESS_TOKEN: ${{ secrets.GATSBY_ROLLBAR_TOKEN }}

- name: Upload coverage reports to Codecov
Expand Down
2 changes: 1 addition & 1 deletion site/gatsby-site/codegen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type { CodegenConfig } from '@graphql-codegen/cli';
const config: CodegenConfig = {
overwrite: true,
schema: ["./server/schema.ts"],
require: ['ts-node/register'],
require: ['ts-node/register', 'dotenv/config'],
generates: {
"server/generated/graphql.ts": {
plugins: ["typescript", "typescript-resolvers", "typescript-mongodb"]
Expand Down
Loading

0 comments on commit faff383

Please sign in to comment.