Skip to content

Commit

Permalink
first attempt at a docker publish target
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul P.H. Wilson committed Sep 7, 2015
1 parent 60219fa commit 18b9de6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@ help:
@echo " doctest to run all doctests embedded in the documentation (if enabled)"

html-docker gh-preview-docker:
docker run -w /cyclus.github.com -v $(PWD):/cyclus.github.com cyclus/fuelcycle.org-deps bash -c "make gh-preview && chmod -R 777 gh-build"
docker run -w /cyclus.github.com -v $(PWD):/cyclus.github.com cyclus/fuelcycle.org-deps bash -c "make gh-preview"

gh-publish-docker:
docker run -w /cyclus.github.com -v $(PWD):/cyclus.github.com cyclus/fuelcycle.org-deps bash -c "make gh-publish"

gh-clean gh-revert clean:
-rm -rf $(BUILDDIR)
Expand All @@ -61,6 +64,7 @@ gh-preview html:
rm ./gh-build/_static/*.bak
cp $(BUILDDIR)/cep/cep0.html $(BUILDDIR)/cep/index.html
cp source/arche/dbtypes.js $(BUILDDIR)/arche/
chmod -R 777 $(BUILDDIR)
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)."

Expand Down

0 comments on commit 18b9de6

Please sign in to comment.