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
|
.PHONY: build
|
||||||
build: index.gmi
|
build: index.gmi
|
||||||
|
|
||||||
|
.PHONY:deploy
|
||||||
|
deploy:
|
||||||
|
printf 'cd emilis\nput index.gmi\n' \
|
||||||
|
| sftp -b - gemini.circumlunar.space
|
||||||
|
|
||||||
|
|
||||||
.PHONY: get-feeds
|
.PHONY: get-feeds
|
||||||
get-feeds:
|
get-feeds:
|
||||||
|
@ -47,6 +52,7 @@ index.gmi: \
|
||||||
}' sorted.gmi \
|
}' sorted.gmi \
|
||||||
| tee -a "$@"
|
| tee -a "$@"
|
||||||
cat footer.gmi >> "$@"
|
cat footer.gmi >> "$@"
|
||||||
|
date +'Updated: %FT%T%:z' >> "$@"
|
||||||
|
|
||||||
|
|
||||||
sorted.gmi: downloaded.gmi
|
sorted.gmi: downloaded.gmi
|
||||||
|
|
Loading…
Reference in New Issue