Updates for publishing
This commit is contained in:
18
Makefile
Normal file
18
Makefile
Normal file
@@ -0,0 +1,18 @@
|
||||
SHELL:=/bin/bash
|
||||
|
||||
build:
|
||||
pushd jadudcom ; rm -rf public ; hugo
|
||||
|
||||
serve:
|
||||
pushd jadudcom ; rm -rf public ; hugo serve -D ; popd
|
||||
|
||||
test:
|
||||
pushd jadudcom ; rm -rf public ; hugo serve ; popd
|
||||
|
||||
upload:
|
||||
cd jadudcom ; rm -rf public ; hugo
|
||||
surfer put \
|
||||
--server jadud.com \
|
||||
--token ${JADUDCOM_SURFER_TOKEN} \
|
||||
public/* /
|
||||
|
||||
Reference in New Issue
Block a user