mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-01-14 20:21:25 +01:00
Fix cname
This commit is contained in:
parent
6bb13fe649
commit
e5d769136c
@ -47,7 +47,7 @@ deploy-beta:
|
|||||||
- git fetch --force git@github.com:OttoWinter/beta.esphomelib.com.git master:gh-pages
|
- git fetch --force git@github.com:OttoWinter/beta.esphomelib.com.git master:gh-pages
|
||||||
- git worktree add _build/html gh-pages
|
- git worktree add _build/html gh-pages
|
||||||
- make ../esphomelib
|
- make ../esphomelib
|
||||||
- make deploy
|
- CNAME=beta.esphomelib.com make deploy
|
||||||
- git -C _build/html push git@github.com:OttoWinter/beta.esphomelib.com.git gh-pages
|
- git -C _build/html push git@github.com:OttoWinter/beta.esphomelib.com.git gh-pages
|
||||||
only:
|
only:
|
||||||
- rc
|
- rc
|
||||||
|
3
Makefile
3
Makefile
@ -9,6 +9,7 @@ SOURCEDIR = .
|
|||||||
BUILDDIR = _build
|
BUILDDIR = _build
|
||||||
ESPHOMELIB_PATH = ../esphomelib
|
ESPHOMELIB_PATH = ../esphomelib
|
||||||
ESPHOMELIB_TAG = v1.8.0
|
ESPHOMELIB_TAG = v1.8.0
|
||||||
|
CNAME = esphomelib.com
|
||||||
|
|
||||||
.PHONY: html cleanhtml doxyg cleandoxyg deploy help webserver Makefile $(ESPHOMELIB_PATH)
|
.PHONY: html cleanhtml doxyg cleandoxyg deploy help webserver Makefile $(ESPHOMELIB_PATH)
|
||||||
|
|
||||||
@ -33,7 +34,7 @@ $(ESPHOMELIB_PATH):
|
|||||||
|
|
||||||
deploy: cleanhtml doxyg html $(ESPHOMELIB_PATH)
|
deploy: cleanhtml doxyg html $(ESPHOMELIB_PATH)
|
||||||
touch "$(BUILDDIR)/html/.nojekyll"
|
touch "$(BUILDDIR)/html/.nojekyll"
|
||||||
echo "esphomelib.com" >"$(BUILDDIR)/html/CNAME"
|
echo $CNAME >"$(BUILDDIR)/html/CNAME"
|
||||||
git -C "$(BUILDDIR)/html" add --all && git -C "$(BUILDDIR)/html" commit -m "Deploy to gh-pages"
|
git -C "$(BUILDDIR)/html" add --all && git -C "$(BUILDDIR)/html" commit -m "Deploy to gh-pages"
|
||||||
@printf "Run \033[0;36mcd $(BUILDDIR)/html && git push origin gh-pages\033[0m to deploy\n"
|
@printf "Run \033[0;36mcd $(BUILDDIR)/html && git push origin gh-pages\033[0m to deploy\n"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user