1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 17:59:37 +02:00

Put db dump in artifacts directory

This commit is contained in:
Chocobozzz 2025-03-18 10:51:32 +01:00
parent 4c99c2399c
commit df2d584b1b
No known key found for this signature in database
GPG key ID: 583A612D890159BE

View file

@ -49,7 +49,7 @@ export class ServersCommand extends AbstractCommand {
if (!isGithubCI()) return
await ensureDir('artifacts')
const destname = join('databases', `peertube-${this.server.internalServerNumber}.sql`)
const destname = join('artifacts', 'databases', `peertube-${this.server.internalServerNumber}.sql`)
console.log('Saving database %s.', destname)
exec(`pg_dump peertube_test${this.server.internalServerNumber} > ${destname}`)