Commit Graph

11 Commits

Author SHA1 Message Date
Denis 'GNUtoo' Carikli f24368b616
README: Improve token generation documentation
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2022-12-20 18:04:32 +01:00
Denis 'GNUtoo' Carikli 4a7e21edc7
Switch from gnutoo.srht.site/libreboot to libreboot.srht.site
As adding organization support to Source Hut is still a
work in progress, we will use this workaround in the
meantime.

Sourceware also uses a similar workaround.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2022-12-20 17:57:19 +01:00
Denis 'GNUtoo' Carikli 75660feab4
Switch to our untitled mirror
This makes sure that we host all the source code to reproduce that
website and that we build it with that.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2022-11-24 03:15:25 +01:00
Denis 'GNUtoo' Carikli c37de82ede
Move images to the same domain under img/
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2022-11-24 02:52:45 +01:00
Denis 'GNUtoo' Carikli 58fc2a673d
Add the ability to test the website locally
That serve the website to http://127.0.0.1:8080/

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2022-11-24 02:35:06 +01:00
Denis 'GNUtoo' Carikli 44aa09777d
index.html: Fix naming
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2022-11-22 22:04:41 +01:00
Denis 'GNUtoo' Carikli 26810823c9
Move the website to https://gnutoo.srht.site/libreboot/
Without that we can only have one website.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2022-11-22 21:58:12 +01:00
Denis 'GNUtoo' Carikli b7e10712a3
Add target to upload the website
The token will need to be added in id_oauth2_bearer.

It's not very safe to pass the content to a command as any user on the
system on which it is run will be able to get the token, though I
didn't find a command line argument in curl to pass it a file path
instead.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2022-11-22 21:57:52 +01:00
Denis 'GNUtoo' Carikli 0292688c77
Generate a tarball of the website
Sourcehut has a way to setup a static website by uploading a tarball
of the content[1].

Even if we don't end up using Sourcehut, generating a tarball of the
website enables more easy deployments.

Note that we didn't touch to the website code yet, so it still uses
the old URLs, the old image locations, etc.

After creating a token (documentation[1]), the website can then be
uploaded with the following command:
curl \
	--oauth2-bearer "<token>" \
	-Fcontent=@website.tar.gz \
	https://pages.sr.ht/publish/gnutoo.srht.site

[1]https://srht.site/quickstart

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2022-11-22 21:57:24 +01:00
Denis 'GNUtoo' Carikli 8f469e26a1
Switch to the version without the policy to include nonfree software
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2022-11-22 20:33:57 +01:00
Denis 'GNUtoo' Carikli db0fb8a251
Initial import
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2022-11-22 20:33:08 +01:00