Skip to content
This repository was archived by the owner on Feb 8, 2025. It is now read-only.

Commit 6ffd52f

Browse files
authored
Merge pull request #190 from zallo-labs/fix-api-release
Fix api release
2 parents 77f3285 + 526e1e8 commit 6ffd52f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

api/fly.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ swap_size_mb = 512
77
dockerfile = "Dockerfile"
88

99
[deploy]
10-
release_command = "yarn api db:prepare"
10+
# Runs instead of image CMD
11+
release_command = "npx turbo db:prepare"
1112

1213
[env]
1314
API_PORT = 3000

app/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"generate:gql": "graphql-codegen --config codegen.ts && sed -i 's/as unknown as IntrospectionQuery;/as const;/g' ./src/gql/api/schema.generated.ts",
99
"generate:ampli": "ampli pull -p ./src/lib/ampli --omit-api-keys",
1010
"build:web": "yarn expo export -p web",
11-
"deploy:update": "yarn eas update --auto --non-interactive --platform all && npx sentry-expo-upload-sourcemaps dist",
11+
"deploy:update": "yarn eas update --auto --non-interactive --platform all && yarn with-env -- npx sentry-expo-upload-sourcemaps dist",
1212
"dev": "APP_VARIANT=dev yarn expo start --dev-client",
1313
"test": "jest",
1414
"typecheck": "tsc --noEmit",

0 commit comments

Comments
 (0)