diff --git a/azure-pipelines.web.yaml b/web/azure-pipelines.yaml similarity index 80% rename from azure-pipelines.web.yaml rename to web/azure-pipelines.yaml index eb1008861..a0fa35876 100644 --- a/azure-pipelines.web.yaml +++ b/web/azure-pipelines.yaml @@ -3,26 +3,14 @@ trigger: branches: include: ["master"] paths: - include: - [ - "azure-pipelines.web.yaml", - "docker-compose.yml", - "docker-compose.prod.yml", - "web/*", - ] + include: [".", "../docker-compose.yml", "../docker-compose.prod.yml"] pr: autoCancel: false branches: include: ["master"] paths: - include: - [ - "azure-pipelines.web.yaml", - "docker-compose.yml", - "docker-compose.prod.yml", - "web/*", - ] + include: [".", "../docker-compose.yml", "../docker-compose.prod.yml"] pool: vmImage: "ubuntu-latest" @@ -34,8 +22,8 @@ steps: containerRegistry: "collinbarrett2-dockerhub" repository: "collinbarrett2/filterlists.web" command: "build" - Dockerfile: "web/Dockerfile" - buildContext: "./web" + Dockerfile: "Dockerfile" + buildContext: "." tags: | latest $(Build.BuildId)