listens for git webhooks and runs bash scripts when they arrive
Go to file
AJ ONeal 7bf5c8682b git-deploy static server with basic options 2020-09-28 01:26:16 -06:00
assets git-deploy static server with basic options 2020-09-28 01:26:16 -06:00
html work 2020-09-26 15:45:20 -04:00
public git-deploy static server with basic options 2020-09-28 01:26:16 -06:00
tools git-deploy static server with basic options 2020-09-28 01:26:16 -06:00
.gitignore git-deploy static server with basic options 2020-09-28 01:26:16 -06:00
.gitmodules work 2020-09-19 13:59:59 -04:00
.prettierignore work 2020-09-19 13:59:59 -04:00
.prettierrc git-deploy static server with basic options 2020-09-28 01:26:16 -06:00
README.md git-deploy static server with basic options 2020-09-28 01:26:16 -06:00
go.mod git-deploy static server with basic options 2020-09-28 01:26:16 -06:00
go.sum git-deploy static server with basic options 2020-09-28 01:26:16 -06:00
main.go git-deploy static server with basic options 2020-09-28 01:26:16 -06:00

README.md

git-deploy

git-deploy is an app for handling continuous deployment of static websites.

Build

pushd html/
npm install
./scripts/development
popd
go mod tidy
go mod vendor
go generate -mod=vendor ./...
go build -mod=vendor .
./git-deploy run --listen :3000 --serve-path ./overrides

TODO

git-deploy is intended for use with static websites that are generated after changes are pushed to a Git repository. This works with sites that are being edited in code and tracked in Git. Sites that have their content managed with a headless CMS that pushes to Git are also very well-suited.

git-deploy supports verified webhooks from Github, Bitbucket, and Gitea.

git-deploy is written in Go. This means that it's a standalone binary available on all major operating systems and architectures. It provides an API with endpoints that handle webhooks, allow for initiation of builds, and getting the status of builds and build jobs.

git-deploy comes with a simple interface. The interface be disabled if you don't want to use it.

git-deploy also comes with basic authentication via integration with Pocket ID. Authentication can also be disabled if you don't want to use it. The built-in interface requires the built-in authentication.