chore: support netlify
This commit is contained in:
parent
5f0ed4e6cd
commit
64b6f04133
|
@ -10,8 +10,9 @@ A push notification micro server using [Gin](https://github.com/gin-gonic/gin) f
|
||||||
[](https://codebeat.co/projects/github-com-appleboy-gorush)
|
[](https://codebeat.co/projects/github-com-appleboy-gorush)
|
||||||
[](https://www.codacy.com/app/appleboy/gorush?utm_source=github.com&utm_medium=referral&utm_content=appleboy/gorush&utm_campaign=Badge_Grade)
|
[](https://www.codacy.com/app/appleboy/gorush?utm_source=github.com&utm_medium=referral&utm_content=appleboy/gorush&utm_campaign=Badge_Grade)
|
||||||
[](https://hub.docker.com/r/appleboy/gorush/)
|
[](https://hub.docker.com/r/appleboy/gorush/)
|
||||||
[](https://microbadger.com/images/appleboy/gorush "Get your own image badge on microbadger.com")
|
[](https://microbadger.com/images/appleboy/gorush "Get your own image badge on microbadger.com")
|
||||||
[](https://github.com/appleboy/gorush/releases/latest)
|
[](https://github.com/appleboy/gorush/releases/latest)
|
||||||
|
[](https://app.netlify.com/sites/gorush/deploys)
|
||||||
|
|
||||||
## Contents
|
## Contents
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
[build]
|
||||||
|
command = "./build.sh"
|
||||||
|
functions = "release/linux/lambda"
|
||||||
|
|
||||||
|
[build.environment]
|
||||||
|
GO_IMPORT_PATH = "github.com/appleboy/gorush"
|
||||||
|
GO111MODULE = "on"
|
||||||
|
|
||||||
|
[[redirects]]
|
||||||
|
from = "/*"
|
||||||
|
to = "/.netlify/functions/gorush/:splat"
|
||||||
|
status = 200
|
Loading…
Reference in New Issue