Skip to content

Commit 41e74a4

Browse files
author
Yan Gobeil
committed
update readme to deploy doc
1 parent 5404f40 commit 41e74a4

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,17 @@ access to the decavision-doc app.
168168
```
169169
git subtree push --prefix docs/_build/html heroku master
170170
```
171-
This has to be done from the main directory and it pushes only the code in the docs/_build/html subfolder to heroku.
171+
This has to be done from the main directory and it pushes only the code in the docs/_build/html subfolder to heroku. If it fails you can try
172+
```
173+
cd docs/_build/html
174+
git init
175+
git add .
176+
git commit -am "deploy"
177+
heroku git:remote -a decavision-doc
178+
git push --force heroku master
179+
rm -rf .git
180+
cd ../../..
181+
```
172182

173183
### To do
174184

0 commit comments

Comments
 (0)