Added publishing of uploads to built site
This commit is contained in:
parent
48f39133d7
commit
d0cebe6564
13 changed files with 145 additions and 20 deletions
8
Makefile
8
Makefile
|
|
@ -25,4 +25,10 @@ build: frontend
|
|||
|
||||
.Phony: run
|
||||
run: build
|
||||
./build/weiro
|
||||
./build/weiro
|
||||
|
||||
.Phony: setup_targets
|
||||
setup_targets: build
|
||||
SITE_ID=$$(DATA_DIR=$(BUILD_DIR)/data ./$(BUILD_DIR)/weiro sites | tail -n1 | awk '{ print $$1 }'); \
|
||||
DATA_DIR=$(BUILD_DIR)/data ./build/weiro pubtargets "$$SITE_ID"; \
|
||||
DATA_DIR=$(BUILD_DIR)/data ./build/weiro pubtargets add --site "$$SITE_ID" --type localfs --ref ./$(BUILD_DIR)/out --url http://localhost:8000
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue