Browse Source

new content added to blog-src

cocconat 5 years ago
parent
commit
5e7f1556fb
1 changed files with 7 additions and 2 deletions
  1. 7 2
      Makefile

+ 7 - 2
Makefile

@@ -120,8 +120,13 @@ cf_upload: publish
 	cd $(OUTPUTDIR) && swift -v -A https://auth.api.rackspacecloud.com/v1.0 -U $(CLOUDFILES_USERNAME) -K $(CLOUDFILES_API_KEY) upload -c $(CLOUDFILES_CONTAINER) .
 
 github: publish
-	ghp-import -m "Generate Pelican site" -b $(GITHUB_PAGES_BRANCH) $(OUTPUTDIR)
-	git push origin $(GITHUB_PAGES_BRANCH)
+	git add content/**
+	git commit -m "new content added to blog-src"
+	git push
+	cd $(OUTPUTDIR)/
+	git add **
+	git commit -m "new content added to blog-html"
+	git push
 
 .PHONY: html help clean regenerate serve serve-global devserver stopserver publish ssh_upload rsync_upload dropbox_upload ftp_upload s3_upload cf_upload github