Skip to content

Commit 75e1eb5

Browse files
authored
Merge pull request #384 from carabasdaniel/promotionwf
Add provision service promotion trigger
2 parents ebeafcc + 093d1c2 commit 75e1eb5

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/nightly.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,18 @@ jobs:
200200
run: |
201201
buildevents step $TRACE_ID $STEP_ID $STEP_START 'Remove test environment'
202202
203+
promoteService:
204+
if: ${{ success() }}
205+
name: "Promote provision service"
206+
runs-on: ubuntu-latest
207+
steps:
208+
- name: "Repository dispatch"
209+
uses: peter-evans/repository-dispatch@ce5485de42c9b2622d2ed064be479e8ed65e76f4 # pin@v1
210+
with:
211+
token: ${{ secrets.GITHUB_TOKEN }}
212+
repository: puppetlabs/provision_service
213+
event-type: promote
214+
203215
slack-workflow-status:
204216
if: always()
205217
name: Post Workflow Status To Slack

0 commit comments

Comments
 (0)