diff --git a/.gitignore b/.gitignore index f73a9f6..fd7ba46 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ +/gitdeploy + *_vfsdata.go /gitdeploy /git-deploy diff --git a/README.md b/README.md index 3bd5311..150de88 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,13 @@ -# [git-deploy](https://git.ryanburnette.com/ryanburnette/git-deploy) +# [gitdeploy](https://git.rootprojects.org/root/gitdeploy) -**git-deploy** is an app for handling continuous deployment of static websites. +**gitdeploy** is an app for handling continuous deployment of static websites. ## Usage ```bash echo 'GITHUB_SECRET=xxxxxxx' >> .env -./git-deploy init -./git-deploy run --listen :3000 --serve-path ./overrides --exec ./path/to/script.sh +./gitdeploy init +./gitdeploy run --listen :3000 --serve-path ./overrides --exec ./path/to/script.sh ``` To manage `git credentials` @@ -86,29 +86,29 @@ Sometimes Bitbucket does not give you the option to specify the (`X-Hub-Signatur so you'll have to append an `access_token` instead. Example: ```txt -Title: git-deploy +Title: gitdeploy URL: https://YOUR_DOMAIN/api/webhooks/bitbucket?access_token=YOUR_SECRET Triggers: Repository push ``` ## TODO -**git-deploy** is intended for use with static websites that are generated after +**gitdeploy** 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. +**gitdeploy** supports verified webhooks from Github, Bitbucket, and Gitea. -**git-deploy** is written in Go. This means that it's a standalone binary +**gitdeploy** 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 +**gitdeploy** 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 +**gitdeploy** also comes with basic authentication via integration with [Pocket ID](https://pocketid.app). Authentication can also be disabled if you don't want to use it. The built-in interface requires the built-in authentication. @@ -148,7 +148,7 @@ crypto ## License -Copyright 2020 The git-deploy Authors +Copyright 2020 The gitdeploy Authors This Source Code Form is subject to the terms of the Mozilla Public \ License, v. 2.0. If a copy of the MPL was not distributed with this \ diff --git a/assets/assets.go b/assets/assets.go index 2f69db5..eb2c267 100644 --- a/assets/assets.go +++ b/assets/assets.go @@ -1,4 +1,4 @@ // +build !dev -//go:generate go run -mod vendor github.com/shurcooL/vfsgen/cmd/vfsgendev -source="git.ryanburnette.com/ryanburnette/git-deploy/assets".Assets +//go:generate go run -mod vendor github.com/shurcooL/vfsgen/cmd/vfsgendev -source="git.rootprojects.org/root/gitdeploy/assets".Assets package assets diff --git a/bitbucket.go b/bitbucket.go index 38371e0..2e445c2 100644 --- a/bitbucket.go +++ b/bitbucket.go @@ -3,5 +3,5 @@ package main import ( - _ "git.ryanburnette.com/ryanburnette/git-deploy/internal/webhooks/bitbucket" + _ "git.rootprojects.org/root/gitdeploy/internal/webhooks/bitbucket" ) diff --git a/gitea.go b/gitea.go index 50dbc41..91892fc 100644 --- a/gitea.go +++ b/gitea.go @@ -3,5 +3,5 @@ package main import ( - _ "git.ryanburnette.com/ryanburnette/git-deploy/internal/webhooks/gitea" + _ "git.rootprojects.org/root/gitdeploy/internal/webhooks/gitea" ) diff --git a/github.go b/github.go index ccfb070..6d80cf3 100644 --- a/github.go +++ b/github.go @@ -3,5 +3,5 @@ package main import ( - _ "git.ryanburnette.com/ryanburnette/git-deploy/internal/webhooks/github" + _ "git.rootprojects.org/root/gitdeploy/internal/webhooks/github" ) diff --git a/go.mod b/go.mod index 2f04fef..d335d97 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module git.ryanburnette.com/ryanburnette/git-deploy +module git.rootprojects.org/root/gitdeploy go 1.15 diff --git a/html/src/index.html b/html/src/index.html index 0b53a49..0eb37f4 100644 --- a/html/src/index.html +++ b/html/src/index.html @@ -3,7 +3,7 @@ - git-deploy Dashboard + gitdeploy Dashboard

- git-deploy + gitdeploy v0.1.0

diff --git a/html/src/templates/dashboard.html b/html/src/templates/dashboard.html index 9dd0924..3518613 100644 --- a/html/src/templates/dashboard.html +++ b/html/src/templates/dashboard.html @@ -5,7 +5,7 @@

- git-deploy is a tool for managing continuous deployment of + gitdeploy is a tool for managing continuous deployment of statically generated websites.

diff --git a/html/src/templates/navbar.html b/html/src/templates/navbar.html index 9d0512a..722471a 100644 --- a/html/src/templates/navbar.html +++ b/html/src/templates/navbar.html @@ -2,7 +2,7 @@