mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
add prerun in update
This commit is contained in:
@@ -60,7 +60,7 @@
|
||||
"remove-all-containers": "docker stop $(docker ps -a -q) && docker rm $(docker ps -a -q) || echo 'No running containers'",
|
||||
"prepare": "husky install",
|
||||
"backup": "bash backup.sh",
|
||||
"update": "export $(grep -v '^#' config.env | xargs) && docker compose pull && npm run start"
|
||||
"update": "npm run prerun && export $(grep -v '^#' config.env | xargs) && docker compose pull && npm run start"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
Reference in New Issue
Block a user