[mirror] Command-line application for uploading a site to a git-pages server

Update installation instructions.

+15 -9
+15 -9
README.md
··· 12 12 Installation 13 13 ------------ 14 14 15 - You will need [Go](https://go.dev/) 1.25 or newer. Run: 15 + You can install _git-pages-cli_ using one of the following methods: 16 16 17 - ```console 18 - $ go install codeberg.org/git-pages/git-pages-cli@latest 19 - ``` 17 + 1. **Downloading a binary**. You can download the [latest build][latest] or pick a [release][releases]. 20 18 21 - If you prefer, you may also use a [Docker container][docker]: 19 + 1. **Using a Docker container**. Choose between the latest build or a [release tag][containers]. Then run: 22 20 23 - ```console 24 - docker run --rm codeberg.org/git-pages/git-pages-cli:latest ... 25 - ``` 21 + ```console 22 + $ docker run --rm codeberg.org/git-pages/git-pages-cli:latest ... 23 + ``` 26 24 27 - [docker]: https://codeberg.org/git-pages/-/packages/container/git-pages-cli/latest 25 + 1. **Installing from source**. First, install [Go](https://go.dev/) 1.25 or newer. Then run: 26 + 27 + ```console 28 + $ go install codeberg.org/git-pages/git-pages-cli@latest 29 + ``` 30 + 31 + [latest]: https://codeberg.org/git-pages/git-pages-cli/releases/tag/latest 32 + [releases]: https://codeberg.org/git-pages/git-pages-cli/releases 33 + [containers]: https://codeberg.org/git-pages/-/packages/container/git-pages-cli/versions 28 34 29 35 30 36 Usage