Add make site
target to build & publish the website
This of course needs SSH access to the flamenco.io website. Run `hugo --serve` from the `web/flamenco-io-site` directory to simply run an in-memory copy of the site, and browse it locally at http://localhost:1313/
This commit is contained in:
parent
eb54d1ab41
commit
9939e43b63
1
.gitignore
vendored
1
.gitignore
vendored
@ -24,4 +24,5 @@ __pycache__
|
|||||||
|
|
||||||
web/manager-api/dist/
|
web/manager-api/dist/
|
||||||
web/static/
|
web/static/
|
||||||
|
web/flamenco-io-site/public/
|
||||||
/dist/
|
/dist/
|
||||||
|
9
Makefile
9
Makefile
@ -162,6 +162,15 @@ clean-webapp-static:
|
|||||||
mkdir -p ./${WEB_STATIC}
|
mkdir -p ./${WEB_STATIC}
|
||||||
touch ${WEB_STATIC}/emptyfile
|
touch ${WEB_STATIC}/emptyfile
|
||||||
|
|
||||||
|
site:
|
||||||
|
rm -rf web/flamenco-io-site/public/
|
||||||
|
cd web/flamenco-io-site; hugo --baseURL https://www.flamenco.io/
|
||||||
|
rsync web/flamenco-io-site/public/ flamenco.io:flamenco.io/ \
|
||||||
|
-va \
|
||||||
|
--exclude v2/ \
|
||||||
|
--exclude .well-known/ \
|
||||||
|
--exclude .htaccess \
|
||||||
|
--delete-after
|
||||||
|
|
||||||
package: flamenco-manager flamenco-worker addon-packer
|
package: flamenco-manager flamenco-worker addon-packer
|
||||||
rm -rf dist-build
|
rm -rf dist-build
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
baseURL = "http://flamenco.io"
|
baseURL = "http://localhost:1313"
|
||||||
title = "Flamenco"
|
title = "Flamenco"
|
||||||
theme = "hugo-geekdoc"
|
theme = "hugo-geekdoc"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user