update env
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-12-30 20:06:10 +08:00
parent 76571a6b0b
commit 62ab81441d
11 changed files with 217 additions and 83 deletions
+2 -1
View File
@@ -12,7 +12,8 @@ var cli *gitea.Client
func init() {
var err error
cli, err = gitea.NewClient("http://gitea:3000/", gitea.SetToken("4322b0d361004db5dcea1741417f9e014a0f428f"))
// cli, err = gitea.NewClient("http://gitea:3000/", gitea.SetToken("4322b0d361004db5dcea1741417f9e014a0f428f"))
cli, err = gitea.NewClient("https://git.icechen.cn", gitea.SetToken("4322b0d361004db5dcea1741417f9e014a0f428f"))
if err != nil {
panic(err)
}