Add production backup task to mise
This commit is contained in:
@@ -41,6 +41,10 @@ run = ['mix hex.outdated --all']
|
|||||||
description = 'Open an ssh console to the production env'
|
description = 'Open an ssh console to the production env'
|
||||||
run = 'fly ssh console'
|
run = 'fly ssh console'
|
||||||
|
|
||||||
|
[tasks.prod-backup]
|
||||||
|
description = 'Backup the production database to the local development env'
|
||||||
|
run = 'mix music_library.prod.db_backup'
|
||||||
|
|
||||||
[tasks.static-checks]
|
[tasks.static-checks]
|
||||||
description = 'Run static checks for code formatting, translations, quality'
|
description = 'Run static checks for code formatting, translations, quality'
|
||||||
run = 'mix do format, credo, gettext.extract'
|
run = 'mix do format, credo, gettext.extract'
|
||||||
|
|||||||
Reference in New Issue
Block a user