diff --git a/.gitignore b/.gitignore index b63ddcc7..b8a9d7f5 100644 --- a/.gitignore +++ b/.gitignore @@ -24,4 +24,5 @@ __pycache__ web/manager-api/dist/ web/static/ +web/flamenco-io-site/public/ /dist/ diff --git a/Makefile b/Makefile index f7e79d4c..15c9320a 100644 --- a/Makefile +++ b/Makefile @@ -162,6 +162,15 @@ clean-webapp-static: mkdir -p ./${WEB_STATIC} 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 rm -rf dist-build diff --git a/web/flamenco-io-site/config.toml b/web/flamenco-io-site/config.toml index 18a1965f..3d405863 100644 --- a/web/flamenco-io-site/config.toml +++ b/web/flamenco-io-site/config.toml @@ -1,4 +1,4 @@ -baseURL = "http://flamenco.io" +baseURL = "http://localhost:1313" title = "Flamenco" theme = "hugo-geekdoc"