mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
add ghp-import features to push to github pages easily
This commit is contained in:
parent
96b52a2283
commit
100d94cd12
3 changed files with 39 additions and 1 deletions
|
|
@ -55,7 +55,11 @@ ssh_upload: $$(OUTPUTDIR)/index.html
|
|||
ftp_upload: $$(OUTPUTDIR)/index.html
|
||||
\tlftp ftp://$$(FTP_USER)@$$(FTP_HOST) -e "mirror -R $$(OUTPUT_DIR)/* $$(FTP_TARGET_DIR) ; quit"
|
||||
|
||||
.PHONY: html help clean ftp_upload ssh_upload dropbox_upload
|
||||
github: $$(OUTPUTDIR)/index.html
|
||||
\tghp-import $$(OUTPUTDIR)
|
||||
\tgit push origin gh-pages
|
||||
|
||||
.PHONY: html help clean ftp_upload ssh_upload dropbox_upload github
|
||||
''',
|
||||
|
||||
'pelican.conf.py': '''#!/usr/bin/env python
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue