Skip to content

Commit

Permalink
No need to add a new commit in the history for every new doc publish
Browse files Browse the repository at this point in the history
  • Loading branch information
yawaramin committed Apr 27, 2024
1 parent 75fb2a1 commit 8b7c862
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ DOCPATH=$(PWD)/_build/default/_doc/_html

.PHONY : publish_doc
publish_doc : odoc
@git checkout gh-pages && cp -R $(DOCPATH)/* . && rm -rf dream_html && git add . && git commit -mdocs && git push --force && git checkout -
@git checkout gh-pages && cp -R $(DOCPATH)/* . && rm -rf dream_html && git add . && git commit --amend -mdocs && git push --force && git checkout -

.PHONY : publish_opam
publish_opam :
Expand Down

0 comments on commit 8b7c862

Please sign in to comment.