Skip to content

Commit

Permalink
feat: golang function based on tencent cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
lbwa committed May 9, 2021
0 parents commit 0f5c280
Show file tree
Hide file tree
Showing 5 changed files with 529 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# yuque-github-hook

> Only for private use.
Use [Repository Dispatch Event](https://docs.github.com/en/rest/reference/repos#create-a-repository-dispatch-event) to trigger Github Action.

## Usage

- clear building

```bash
go clean
```

- build

```bash
GOOS=linux GOARCH=amd64 go build -o main main.go
```
9 changes: 9 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module yuque-github-hook

go 1.15

require (
github.com/google/go-github/v35 v35.2.0
github.com/tencentyun/scf-go-lib v0.0.0-20200624065115-ba679e2ec9c9
golang.org/x/oauth2 v0.0.0-20210427180440-81ed05c6b58c
)
Loading

0 comments on commit 0f5c280

Please sign in to comment.