mirror of
https://gitea.com/gitea/tea.git
synced 2024-11-24 11:31:36 +01:00
Rename master branch to main (#495)
This updates drone CI to use the new main branch name `main`. ### ⚠️ breaking The download URLs on https://dl.gitea.io/tea/master will no longer be updated. @Owners: is there a way to add a redirect for these URLs from `/tea/master` to `/tea/main`? Co-authored-by: Norwin <git@nroo.de> Reviewed-on: https://gitea.com/gitea/tea/pulls/495 Co-authored-by: Norwin <noerw@noreply.gitea.io> Co-committed-by: Norwin <noerw@noreply.gitea.io>
This commit is contained in:
parent
2b1bca9e5d
commit
0b8be54186
@ -43,7 +43,7 @@ steps:
|
|||||||
GOPROXY: https://goproxy.io # proxy.golang.org is blocked in China, this proxy is not
|
GOPROXY: https://goproxy.io # proxy.golang.org is blocked in China, this proxy is not
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- main
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
- pull_request
|
- pull_request
|
||||||
@ -156,7 +156,7 @@ steps:
|
|||||||
endpoint: https://ams3.digitaloceanspaces.com
|
endpoint: https://ams3.digitaloceanspaces.com
|
||||||
source: "dist/release/*"
|
source: "dist/release/*"
|
||||||
strip_prefix: dist/release/
|
strip_prefix: dist/release/
|
||||||
target: /tea/master
|
target: /tea/main
|
||||||
environment:
|
environment:
|
||||||
AWS_ACCESS_KEY_ID:
|
AWS_ACCESS_KEY_ID:
|
||||||
from_secret: aws_access_key_id
|
from_secret: aws_access_key_id
|
||||||
@ -164,7 +164,7 @@ steps:
|
|||||||
from_secret: aws_secret_access_key
|
from_secret: aws_secret_access_key
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- main
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user