0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Added post-checkout hook to prepare script

This commit is contained in:
Chris Raible 2024-10-13 17:18:38 -04:00
parent 0257ad6f93
commit c91fdf4dd9

View file

@ -41,7 +41,7 @@
"main": "yarn main:monorepo && yarn main:submodules",
"main:monorepo": "git checkout main && git pull ${GHOST_UPSTREAM:-origin} main && yarn",
"main:submodules": "git submodule sync && git submodule update && git submodule foreach \"git checkout main && git pull ${GHOST_UPSTREAM:-origin} main\"",
"prepare": "husky install .github/hooks",
"prepare": "husky install .github/hooks && source .github/hooks/post-checkout",
"tb": "docker run --rm -v $(pwd):/ghost -w /ghost/ghost/tinybird -it tinybirdco/tinybird-cli-docker",
"tb:update": "docker pull tinybirdco/tinybird-cli-docker"
},