ci: ping godocs.io to re-fetch sources
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
002c6756b4
commit
cb5d8b8931
29
.drone.star
29
.drone.star
@ -242,7 +242,7 @@ def main(ctx):
|
||||
{
|
||||
"kind": "pipeline",
|
||||
"type": "docker",
|
||||
"name": "golangci-lint",
|
||||
"name": "golangci-lint|godocs",
|
||||
"steps": [
|
||||
{
|
||||
"name": "golangci-lint",
|
||||
@ -258,7 +258,7 @@ def main(ctx):
|
||||
],
|
||||
},
|
||||
{
|
||||
"name": "trigger refresh",
|
||||
"name": "goreportcard refresh",
|
||||
"image": "docker.io/curlimages/curl:7.83.1",
|
||||
"pull": "if-not-exists",
|
||||
"trigger": {
|
||||
@ -282,6 +282,31 @@ def main(ctx):
|
||||
"https://goreportcard.com/checks " +
|
||||
"-o /dev/null"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "godocs refresh",
|
||||
"image": "docker.io/curlimages/curl:7.83.1",
|
||||
"pull": "if-not-exists",
|
||||
"trigger": {
|
||||
"ref": {
|
||||
"include": [
|
||||
"refs/tags/**",
|
||||
"refs/heads/development"
|
||||
],
|
||||
"exclude": [
|
||||
"refs/pull/**"
|
||||
]
|
||||
}
|
||||
},
|
||||
"commands": [
|
||||
"uname -r",
|
||||
"curl --version",
|
||||
"curl " +
|
||||
"-sS " +
|
||||
"-X POST " +
|
||||
"https://godocs.io/git.dotya.ml/${DRONE_REPO}/refresh " +
|
||||
"-o /dev/null"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user