ci: ping godocs.io to re-fetch sources
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2022-07-08 22:36:55 +02:00
parent 002c6756b4
commit cb5d8b8931
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -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"
]
}
]
}