Added deployment task.
This commit is contained in:
parent
f341436d35
commit
179b9b61eb
6
Makefile
6
Makefile
|
@ -9,6 +9,11 @@ default: get-feeds build
|
|||
.PHONY: build
|
||||
build: index.gmi
|
||||
|
||||
.PHONY:deploy
|
||||
deploy:
|
||||
printf 'cd emilis\nput index.gmi\n' \
|
||||
| sftp -b - gemini.circumlunar.space
|
||||
|
||||
|
||||
.PHONY: get-feeds
|
||||
get-feeds:
|
||||
|
@ -47,6 +52,7 @@ index.gmi: \
|
|||
}' sorted.gmi \
|
||||
| tee -a "$@"
|
||||
cat footer.gmi >> "$@"
|
||||
date +'Updated: %FT%T%:z' >> "$@"
|
||||
|
||||
|
||||
sorted.gmi: downloaded.gmi
|
||||
|
|
Loading…
Reference in New Issue