mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
convert nginx build to yaml
This commit is contained in:
parent
e658a7d506
commit
3fd832d706
1 changed files with 36 additions and 0 deletions
36
azure-pipelines.nginx.yaml
Normal file
36
azure-pipelines.nginx.yaml
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
trigger:
|
||||
batch: false
|
||||
branches:
|
||||
include: ["master"]
|
||||
paths:
|
||||
include:
|
||||
[
|
||||
"azure-pipelines.nginx.yaml",
|
||||
"ops/nginx/*",
|
||||
".dockerignore",
|
||||
"docker-compose.yml",
|
||||
"docker-compose.prod.yml",
|
||||
]
|
||||
|
||||
pool:
|
||||
vmImage: "ubuntu-latest"
|
||||
|
||||
steps:
|
||||
- task: CopyFiles@2
|
||||
displayName: "stage files"
|
||||
inputs:
|
||||
SourceFolder: "$(Build.SourcesDirectory)"
|
||||
Contents: |
|
||||
ops/nginx/**
|
||||
docker-compose.yml
|
||||
docker-compose.prod.yml
|
||||
TargetFolder: "$(Build.ArtifactStagingDirectory)"
|
||||
CleanTargetFolder: true
|
||||
OverWrite: true
|
||||
|
||||
- task: PublishBuildArtifacts@1
|
||||
displayName: "publish files"
|
||||
inputs:
|
||||
PathtoPublish: "$(Build.ArtifactStagingDirectory)"
|
||||
ArtifactName: "drop"
|
||||
publishLocation: "Container"
|
||||
Loading…
Reference in a new issue