From 56a34d85cf6ef6f5fc219ba35672fedd41ad62b9 Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Sat, 21 Dec 2019 13:09:11 -0600 Subject: [PATCH] try nest web pipeline config in web dir --- .../azure-pipelines.yaml | 20 ++++--------------- 1 file changed, 4 insertions(+), 16 deletions(-) rename azure-pipelines.web.yaml => web/azure-pipelines.yaml (80%) 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)