A simple HTTP endpoint to deploy static websites from CI.
- Go 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| .forgejo/workflows | ||
| internal | ||
| .gitignore | ||
| go.mod | ||
| go.sum | ||
| LICENSE | ||
| main.go | ||
| README.md | ||
static-deploy
A simple HTTP endpoint to deploy static websites from CI.
Warning
This tool is tied to my personal needs. This is a very opinionated setup. It may be useful for others by accident, but no support is (or will be) provided.
Client usage:
$ curl ${TOKEN}@localhost:8000/ \
-F 'file=@website.tar.gz' \
-F 'domain=example.com' \
-F "sha512=$(sha512sum website.tar.gz)"
License
BSD 3-Clause license