From d5b0476c6a5a5fee80fca1372af6ab7d5766551b Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Sun, 8 Dec 2019 16:17:59 -0600 Subject: [PATCH] move web Pipeline config to web directory --- .../azure-pipelines.web.yaml | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) rename azure-pipelines.web.yaml => web/azure-pipelines.web.yaml (80%) diff --git a/azure-pipelines.web.yaml b/web/azure-pipelines.web.yaml similarity index 80% rename from azure-pipelines.web.yaml rename to web/azure-pipelines.web.yaml index eb1008861..e4d78f0d5 100644 --- a/azure-pipelines.web.yaml +++ b/web/azure-pipelines.web.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,7 @@ steps: containerRegistry: "collinbarrett2-dockerhub" repository: "collinbarrett2/filterlists.web" command: "build" - Dockerfile: "web/Dockerfile" - buildContext: "./web" + buildContext: "." tags: | latest $(Build.BuildId)