mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 18:35:51 +02:00
feat(ci): store latest dev build in r2 only
This commit is contained in:
parent
38f4b55fcf
commit
274542fc7d
2 changed files with 4 additions and 5 deletions
|
@ -47,7 +47,7 @@ func getDevBuild() (data TRelease, err error) {
|
|||
}
|
||||
shortSHA := commit.SHA[:7]
|
||||
|
||||
resp, err = http.Get(fmt.Sprintf("%s/dev-builds/%s", CloudflareWorkerAPI, shortSHA))
|
||||
resp, err = http.Get(fmt.Sprintf("%s/dev-builds", CloudflareWorkerAPI))
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
|
@ -66,7 +66,7 @@ func getDevBuild() (data TRelease, err error) {
|
|||
|
||||
data = TRelease{
|
||||
TagName: "sha-" + shortSHA,
|
||||
Name: shortSHA,
|
||||
Name: "sha-" + shortSHA,
|
||||
Body: commit.Commit.Message,
|
||||
Type: ReleaseTypeDev,
|
||||
PublishedAt: commit.Commit.Committer.Date,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue