fix dockerhub submodules
This commit is contained in:
parent
3d6aca7371
commit
5b5af35363
5
hooks/post_checkout
Executable file
5
hooks/post_checkout
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
# Docker hub does a recursive clone, then checks the branch out,
|
||||
# so when a PR adds a submodule (or updates it), it fails.
|
||||
|
||||
git submodule update --init
|
@ -8,7 +8,8 @@
|
||||
"url": "https://github.com/ohmyform/ohmyform.git"
|
||||
},
|
||||
"engines": {
|
||||
"yarn": "1.x"
|
||||
"yarn": "1.x",
|
||||
"node": "12.x"
|
||||
},
|
||||
"scripts": {
|
||||
"heroku-prebuild": "scripts/heroku/prebuild.sh",
|
||||
|
Loading…
Reference in New Issue
Block a user