mirror of
https://github.com/N0rthernL1ghts/wordpress.git
synced 2025-12-09 07:12:41 +01:00
Set trigger to run only when relevant files/paths have been updated
This commit is contained in:
11
.github/workflows/image.yml
vendored
11
.github/workflows/image.yml
vendored
@@ -1,8 +1,19 @@
|
|||||||
name: Build docker WordPress image
|
name: Build docker WordPress image
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
branches: master
|
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:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|||||||
Reference in New Issue
Block a user