Website: Update deployment script

The flamenco.io website moves to flamenco.blender.org!
This commit updates the Makefile as follows:

- Rename 'site' to 'project-website', so the new command to deploy is
  'make project-website'
- Move the website directory from 'flamenco-io-site' to
  'project-website'
- Update the rsync command do reflect the new deployment destination
This commit is contained in:
Francesco Siddi 2022-07-25 14:42:30 +02:00
parent 424b87d1d3
commit 05e82ea5e4
229 changed files with 6 additions and 6 deletions

2
.gitignore vendored

@ -31,7 +31,7 @@ __pycache__
web/manager-api/dist/ web/manager-api/dist/
web/static/ web/static/
web/flamenco-io-site/public/ web/project-website/public/
/dist/ /dist/
/tools/ /tools/

@ -186,10 +186,10 @@ clean-webapp-static:
mkdir -p ./${WEB_STATIC} mkdir -p ./${WEB_STATIC}
touch ${WEB_STATIC}/emptyfile touch ${WEB_STATIC}/emptyfile
site: project-website:
rm -rf web/flamenco-io-site/public/ rm -rf web/project-website/public/
cd web/flamenco-io-site; hugo --baseURL https://www.flamenco.io/ cd web/project-website; hugo --baseURL https://flamenco.blender.org/
rsync web/flamenco-io-site/public/ flamenco.io:flamenco.io/ \ rsync web/project-website/public/ flamenco@flamenco.blender.org:/var/www/flamenco.blender.org/ \
-va \ -va \
--exclude v2/ \ --exclude v2/ \
--exclude .well-known/ \ --exclude .well-known/ \

@ -16,7 +16,7 @@ has something to work with, even before any static files have been built.
Hugo is automatically installed when running `make with-deps`, but you can also [manually install Hugo](https://gohugo.io/getting-started/installing/). Hugo is automatically installed when running `make with-deps`, but you can also [manually install Hugo](https://gohugo.io/getting-started/installing/).
To locally run the site, from the `web/flamenco-io-site` directory, start the server with: To locally run the site, from the `web/project-website` directory, start the server with:
``` ```
hugo server -D hugo server -D

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

Before

Width:  |  Height:  |  Size: 87 KiB

After

Width:  |  Height:  |  Size: 87 KiB

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Before

Width:  |  Height:  |  Size: 225 KiB

After

Width:  |  Height:  |  Size: 225 KiB

Before

Width:  |  Height:  |  Size: 508 KiB

After

Width:  |  Height:  |  Size: 508 KiB

Before

Width:  |  Height:  |  Size: 130 KiB

After

Width:  |  Height:  |  Size: 130 KiB

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

Some files were not shown because too many files have changed in this diff Show More