[mirror] Command-line application for uploading a site to a git-pages server
Go 75.5%
Nix 24.5%
3 1 13

Clone this repository

https://tangled.org/whitequark.org/git-pages-cli
git@tangled.org:whitequark.org/git-pages-cli

For self-hosted knots, clone URLs may differ based on your setup.

README.md

git-pages-cli#

git-pages-cli is a command-line application for uploading sites to git-pages.

Installation#

You will need Go 1.25 or newer. Run:

$ go install codeberg.org/git-pages/git-pages-cli

Usage#

To deploy a site from a git repository available on the internet (--password may be omitted if the repository is allowlisted via DNS):

$ git-pages-cli https://mycoolweb.site --password xyz --upload-git https://codeberg.org/username/mycoolweb.site.git

To deploy a site from a directory on your machine:

$ git-pages-cli https://mycoolweb.site --password xyz --upload-dir site-contents

To delete a site:

$ git-pages-cli https://mycoolweb.site --password xyz --delete

License#

0-clause BSD