Skip to content

Commit

Permalink
wip(zerops): Migration status
Browse files Browse the repository at this point in the history
  • Loading branch information
mlc-mlapis committed Nov 30, 2024
1 parent 0e11dfa commit 6c3f8e7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 84 deletions.
77 changes: 0 additions & 77 deletions payload/migrations/migrate.js

This file was deleted.

8 changes: 2 additions & 6 deletions src/payload.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,7 @@ export default buildConfig({
}
}),
collections: [Pages, Posts, Media, Categories, Users],
logger: {
options: {
enabled: false
}
},
logger: 'sync',
cors: [getServerSideURL()].filter(Boolean),
globals: [Header, Footer],
plugins: [
Expand Down Expand Up @@ -104,7 +100,7 @@ export default buildConfig({
host: 'mailpit',
port: 1025,
secure: false,
skipVerify: true,
// skipVerify: true,
logger: true,
// debug: true
}
Expand Down
2 changes: 1 addition & 1 deletion zerops.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ zerops:
buildCommands:
- pnpm i
- pnpm exec next telemetry disable
- cp -f ./payload/migrations/migrate.js ./node_modules/payload/dist/database/migrations/migrate.js
- pnpm payload migrate:status
- pnpm payload migrate
- pnpm build
deployFiles:
Expand Down

0 comments on commit 6c3f8e7

Please sign in to comment.