Update Superfeedr hub
This commit is contained in:
parent
f6eb88b291
commit
0e91c5fce0
2 changed files with 7 additions and 2 deletions
7
Makefile
7
Makefile
|
@ -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."
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue