1
0
Fork 0

Update Superfeedr hub

This commit is contained in:
Daniel Kempkens 2014-12-24 23:28:09 +01:00
parent f6eb88b291
commit 0e91c5fce0
2 changed files with 7 additions and 2 deletions

View file

@ -3,12 +3,17 @@ all: compile upload superfeedr
compile:
@echo "=== Generating static files"
@bundle exec jekyll build
@echo "Done."
upload:
@echo "=== Syncing files"
@rsync -avz --no-o --no-g -e ssh --chmod=og=r -p --delete _site/ webserver.kempkens.io:/var/www/blog
@echo "Done."
@echo "=== Changing permissions"
@ssh webserver.kempkens.io chown -R www:www /var/www/blog
@echo "Done."
superfeedr:
curl -X POST https://kempkens-blog.superfeedr.com -d "hub.mode=publish" -d "hub.url=https://blog.kempkens.io/feed.xml"
@echo "=== Notifying Superfeedr"
@curl -X POST https://kempkens.superfeedr.com -d "hub.mode=publish" -d "hub.url=https://blog.kempkens.io/feed.xml"
@echo "Done."

View file

@ -11,7 +11,7 @@ title: tail call
tagline: 'Ramblings in software development'
description: The ramblings of a 25-year-old software developer from Germany.
url: https://blog.kempkens.io
hub_url: https://kempkens-blog.superfeedr.com
hub_url: https://kempkens.superfeedr.com
baseurl: /
author: