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:
|
compile:
|
||||||
@echo "=== Generating static files"
|
@echo "=== Generating static files"
|
||||||
@bundle exec jekyll build
|
@bundle exec jekyll build
|
||||||
|
@echo "Done."
|
||||||
|
|
||||||
upload:
|
upload:
|
||||||
@echo "=== Syncing files"
|
@echo "=== Syncing files"
|
||||||
@rsync -avz --no-o --no-g -e ssh --chmod=og=r -p --delete _site/ webserver.kempkens.io:/var/www/blog
|
@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"
|
@echo "=== Changing permissions"
|
||||||
@ssh webserver.kempkens.io chown -R www:www /var/www/blog
|
@ssh webserver.kempkens.io chown -R www:www /var/www/blog
|
||||||
|
@echo "Done."
|
||||||
|
|
||||||
superfeedr:
|
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'
|
tagline: 'Ramblings in software development'
|
||||||
description: The ramblings of a 25-year-old software developer from Germany.
|
description: The ramblings of a 25-year-old software developer from Germany.
|
||||||
url: https://blog.kempkens.io
|
url: https://blog.kempkens.io
|
||||||
hub_url: https://kempkens-blog.superfeedr.com
|
hub_url: https://kempkens.superfeedr.com
|
||||||
baseurl: /
|
baseurl: /
|
||||||
|
|
||||||
author:
|
author:
|
||||||
|
|
Loading…
Reference in a new issue