Skip to content

Open Infrastructure Map, a view of infrastructure data in OpenStreetMap

Move web workflow to root

Russ Garrett768b347ff0b0
diff --git a/web/.github/workflows/main.yml b/.github/workflows/web.yml
similarity index 87%
rename from web/.github/workflows/main.yml
rename to .github/workflows/web.yml
index 261008b..a0a4e5f 100644
--- a/web/.github/workflows/main.yml
+++ b/.github/workflows/web.yml
@@ -1,8 +1,10 @@
-name: Build
+name: Build web container
on:
push:
branches: master
+ paths:
+ - 'web/**'
jobs:
login:
@@ -30,7 +32,8 @@ jobs:
id: docker_build
uses: docker/build-push-action@v2
with:
- file: Dockerfile.prod
+ context: ./web
+ file: ./web/Dockerfile.prod
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}