mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
revert(web): ⬅️ restore master -> main ren
This commit is contained in:
parent
6369a9b346
commit
f899790042
1 changed files with 5 additions and 5 deletions
|
|
@ -1,7 +1,7 @@
|
|||
trigger:
|
||||
batch: false
|
||||
branches:
|
||||
include: [master]
|
||||
include: [main]
|
||||
paths:
|
||||
include:
|
||||
[
|
||||
|
|
@ -13,7 +13,7 @@ trigger:
|
|||
pr:
|
||||
autoCancel: false
|
||||
branches:
|
||||
include: [master]
|
||||
include: [main]
|
||||
paths:
|
||||
include:
|
||||
[
|
||||
|
|
@ -54,7 +54,7 @@ steps:
|
|||
$(Build.BuildId)
|
||||
env:
|
||||
DOCKER_BUILDKIT: 1
|
||||
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
|
||||
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/main'))
|
||||
|
||||
- task: CopyFiles@2
|
||||
displayName: stage docker-compose files
|
||||
|
|
@ -64,7 +64,7 @@ steps:
|
|||
docker-compose.yml
|
||||
docker-compose.prod.yml
|
||||
TargetFolder: $(Build.ArtifactStagingDirectory)
|
||||
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
|
||||
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/main'))
|
||||
|
||||
- task: PublishBuildArtifacts@1
|
||||
displayName: publish docker-compose files
|
||||
|
|
@ -72,4 +72,4 @@ steps:
|
|||
PathtoPublish: $(Build.ArtifactStagingDirectory)
|
||||
ArtifactName: drop
|
||||
publishLocation: Container
|
||||
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
|
||||
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/main'))
|
||||
|
|
|
|||
Loading…
Reference in a new issue