Create deployments on push events in GitHub repo (#69)

* Create repo webhook and express handler for webhook

* Create deployments from commits in GitHub

* Update isCurrent in previous production deployment

* Create script for setting authority

* Update README for initialize registry script

* Handle review changes

* Use correct repo URL in record data

* Handle github unique webhook error

* Handle async execution of publishing records

* Update readme with ngrok setup

* Review changes

* Add logs for GitHub webhooks

---------

Co-authored-by: neeraj <neeraj.rtly@gmail.com>
This commit is contained in:
2024-02-15 17:24:57 +05:30
committed by GitHub
co-authored by neeraj
parent 9921dc5186
commit c4ba59d97e
19 changed files with 289 additions and 102 deletions
+5 -3
View File
@@ -6,9 +6,11 @@
[database]
dbPath = "db/snowball"
[githubOauth]
clientId = ""
clientSecret = ""
[gitHub]
webhookUrl = ""
[gitHub.oAuth]
clientId = ""
clientSecret = ""
[registryConfig]
restEndpoint = "http://localhost:1317"