website-build: Add support to deploy test website with Savannah.

The update-cvs.py script was written for various reasons:
- If I used simple commands or a shell script, it would have been
  harder to prevent command/shell injection.
- The python script is easier to customize or to run manually.

For now we redirect gnu.org/software/gnuboot to
https://savannah.gnu.org/projects/gnuboot as the website isn't ready
yet.

But we still need to test it for real (especially its deployment)
before all the content is ready, so we deploy it to
gnu.org/software/gnuboot/test for now.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
This commit is contained in:
Denis 'GNUtoo' Carikli 2023-10-15 02:26:43 +02:00
parent e98ce9898d
commit abd59b5985
Signed by: GNUtoo
GPG Key ID: 5F5DFCC14177E263
1 changed files with 4 additions and 2 deletions

View File

@ -12,7 +12,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
DOMAIN := libreboot.at
DOMAIN := gnu.org/software/gnuboot
.PHONY: all build check help deploy website.tar.gz
@ -131,4 +131,6 @@ website.tar.gz: build
-czf \
website.tar.gz \
untitled/www/lbwww/site \
--transform="s#untitled/www/lbwww/site/##"
index.html \
test/index.html \
--transform="s#untitled/www/lbwww/site#test/web#"