Skip to content

Commit ceefe2c

Browse files
committed
Configure remote for ghp-import
1 parent 6e81926 commit ceefe2c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@
66
__pycache__/
77

88
*.pyc
9+
.*.sw?

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ CONFFILE=$(BASEDIR)/pelicanconf.py
99
PUBLISHCONF=$(BASEDIR)/publishconf.py
1010

1111
GITHUB_PAGES_BRANCH=gh-pages
12+
GITHUB_PAGES_REMOTE=virtualsquare
1213

1314

1415
DEBUG ?= 0
@@ -72,8 +73,8 @@ publish:
7273
"$(PELICAN)" "$(INPUTDIR)" -o "$(OUTPUTDIR)" -s "$(PUBLISHCONF)" $(PELICANOPTS)
7374

7475
github: publish
75-
ghp-import -m "Generate Pelican site" -b $(GITHUB_PAGES_BRANCH) "$(OUTPUTDIR)"
76+
ghp-import -m "Generate Pelican site" -b $(GITHUB_PAGES_BRANCH) -r $(GITHUB_PAGES_REMOTE) "$(OUTPUTDIR)"
7677
git push origin $(GITHUB_PAGES_BRANCH)
7778

7879

79-
.PHONY: html help clean regenerate serve serve-global devserver publish github
80+
.PHONY: html help clean regenerate serve serve-global devserver publish github

0 commit comments

Comments
 (0)