Set trigger to run only when relevant files/paths have been updated

This commit is contained in:
2025-02-09 19:02:55 +01:00
parent 1d2bc2a087
commit c9fc0d2292

View File

@@ -1,8 +1,19 @@
name: Build docker WordPress image
on:
workflow_dispatch:
push:
branches: master
paths:
- .github/workflows/image.yml # This workflow file itself
- .dockerignore
- Dockerfile
- Dockerfile.cron
- build/docker-bake.hcl
- build/docker-bake-cron.hcl
- rootfs/**
- src/**
- patches/**
jobs:
build: