Skip to content

Commit 1d54800

Browse files
committed
Set paths to trigger CI
1 parent 8eddefa commit 1d54800

File tree

4 files changed

+26
-6
lines changed

4 files changed

+26
-6
lines changed

.github/workflows/publish-documentation.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
name: Publish documentation
22

3-
on: workflow_dispatch
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- src/docs/**
9+
- /src/test/java/com/rabbitmq/stream/docs/*
10+
workflow_dispatch:
411

512
jobs:
613
build:

.github/workflows/test-pr.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ on:
44
pull_request:
55
branches:
66
- main
7+
paths:
8+
- src/**
9+
- '!src/docs/**'
10+
- '!/src/test/java/com/rabbitmq/stream/docs/*'
11+
- pom.xml
12+
- ci/**
713

814
jobs:
915
build:

.github/workflows/test-rabbitmq-alphas.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ on:
66
push:
77
branches:
88
- main
9+
paths:
10+
- src/**
11+
- '!src/docs/**'
12+
- '!/src/test/java/com/rabbitmq/stream/docs/*'
13+
- pom.xml
14+
- ci/**
915
workflow_dispatch:
1016

1117
jobs:

.github/workflows/test.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ on:
44
push:
55
branches:
66
- main
7+
paths:
8+
- src/**
9+
- '!src/docs/**'
10+
- '!/src/test/java/com/rabbitmq/stream/docs/*'
11+
- pom.xml
12+
- ci/**
713
workflow_dispatch:
814

915
jobs:
@@ -58,8 +64,3 @@ jobs:
5864
MAVEN_USERNAME: ${{ secrets.CENTRAL_USERNAME }}
5965
MAVEN_PASSWORD: ${{ secrets.CENTRAL_TOKEN }}
6066
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
61-
- name: Publish Documentation
62-
run: |
63-
git config user.name "rabbitmq-ci"
64-
git config user.email "[email protected]"
65-
ci/publish-documentation-to-github-pages.sh

0 commit comments

Comments
 (0)