D1 Migration

How does one run a D1 database migration in CI/CD?
I am running the following:
wrangler d1 migrations apply production

But it wants a keyboard press y to confirm the migration. Any advice is appreciated!
Was this page helpful?