summaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
authortechknowlogick <techknowlogick@gitea.io>2021-05-04 12:16:23 -0400
committerGitHub <noreply@github.com>2021-05-04 12:16:23 -0400
commitab77a24f18ae45248bd6c71778fe3bfacacf864f (patch)
tree19cfe3c283d8eb01039a275d25b55758925553cf /.drone.yml
parent21465a2ce361eeb2bff171a0b962dac771ab18d9 (diff)
downloadgitea-ab77a24f18ae45248bd6c71778fe3bfacacf864f.tar.gz
gitea-ab77a24f18ae45248bd6c71778fe3bfacacf864f.zip
update branch in CI and docs (#15631)
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml26
1 files changed, 13 insertions, 13 deletions
diff --git a/.drone.yml b/.drone.yml
index d1cedb73cc..07c44cac53 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -277,7 +277,7 @@ steps:
- test-mysql
when:
branch:
- - master
+ - main
event:
- push
- pull_request
@@ -294,7 +294,7 @@ steps:
- generate-coverage
when:
branch:
- - master
+ - main
event:
- push
- pull_request
@@ -383,7 +383,7 @@ platform:
trigger:
branch:
- - master
+ - main
event:
- cron
cron:
@@ -443,7 +443,7 @@ platform:
trigger:
branch:
- - master
+ - main
event:
- cron
cron:
@@ -482,7 +482,7 @@ workspace:
trigger:
branch:
- - master
+ - main
- "release/*"
event:
- push
@@ -545,7 +545,7 @@ steps:
event:
- push
- - name: release-master
+ - name: release-main
image: plugins/s3:1
settings:
acl: public-read
@@ -554,7 +554,7 @@ steps:
path_style: true
source: "dist/release/*"
strip_prefix: dist/release/
- target: /gitea/master
+ target: /gitea/main
environment:
AWS_ACCESS_KEY_ID:
from_secret: aws_access_key_id
@@ -562,7 +562,7 @@ steps:
from_secret: aws_secret_access_key
when:
branch:
- - master
+ - main
event:
- push
@@ -683,7 +683,7 @@ steps:
from_secret: netlify_token
when:
branch:
- - master
+ - main
event:
- push
@@ -701,7 +701,7 @@ depends_on:
trigger:
ref:
- - refs/heads/master
+ - refs/heads/main
- "refs/tags/**"
event:
exclude:
@@ -798,7 +798,7 @@ depends_on:
trigger:
ref:
- - refs/heads/master
+ - refs/heads/main
- "refs/tags/**"
event:
exclude:
@@ -886,7 +886,7 @@ steps:
trigger:
ref:
- - refs/heads/master
+ - refs/heads/main
- "refs/tags/**"
event:
exclude:
@@ -909,7 +909,7 @@ clone:
trigger:
branch:
- - master
+ - main
- "release/*"
event:
- push