Skip to content

Commit 4eafd4c

Browse files
committed
Creating new job to trigger wordpress
1 parent 2c92029 commit 4eafd4c

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/ci-cd.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on: [push, workflow_dispatch]
44

55
jobs:
66
build:
7+
name: Build
78
runs-on: ubuntu-latest
89
strategy:
910
matrix:
@@ -88,10 +89,15 @@ jobs:
8889
docker push kooldev/php:${{ matrix.version }}-nginx${{ matrix.type }}
8990
docker push kooldev/php:${{ matrix.version }}-nginx-wkhtmltopdf${{ matrix.type }}
9091
92+
trigger-wordpress:
93+
name: Trigger docker-wordpress
94+
runs-on: ubuntu-latest
95+
needs: build
96+
steps:
9197
- name: Trigger build on kool-dev/docker-wordpress
9298
uses: benc-uk/workflow-dispatch@v1.1
9399
if: github.ref == 'refs/heads/master' && github.repository == 'kool-dev/docker-php'
94100
with:
95101
workflow: CI
96102
repo: kool-dev/docker-wordpress
97-
token: ${{ secrets.WORKFLOW_TOKEN }}
103+
token: ${{ secrets.WORKFLOW_TOKEN }}

0 commit comments

Comments
 (0)