This website requires JavaScript.
Explore
Help
Register
Sign In
GNUBoot
/
gnuboot
mirror of
https://git.savannah.gnu.org/git/gnuboot.git
Watch
2
Star
1
Fork
You've already forked gnuboot
0
Code
Issues
Releases
Activity
b7e10712a3
gnuboot
/
.gitignore
4 lines
45 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Initial import Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2022-11-22 20:30:28 +01:00
/untitled/
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:17:24 +01:00
/id_oauth2_bearer
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 20:48:57 +01:00
/website.tar.gz