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:
parent
4c99c2399c
commit
df2d584b1b
1 changed files with 1 additions and 1 deletions
|
@ -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}`)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue