1
0

fix dockerhub submodules

This commit is contained in:
Michael Schramm 2020-06-03 19:37:02 +02:00
parent 3d6aca7371
commit 5b5af35363
2 changed files with 7 additions and 1 deletions

5
hooks/post_checkout Executable file
View 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

View File

@ -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",