Skip to content

Commit a1475df

Browse files
authored
Create deploy.yml for the common repo
This will cause the common-github jenkins job to run whenever a PR is merged into the common repo.
1 parent 56efd66 commit a1475df

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Deployment
2+
3+
on:
4+
pull_request:
5+
types:
6+
[ closed ]
7+
jobs:
8+
Run-Common-Deployment:
9+
if: github.event.pull_request.merged == true
10+
runs-on: [self-hosted, trusted]
11+
steps:
12+
- name: Run-Jenkins
13+
uses: dm-vdo/vdo-org-actions/.github/workflows/deploy.yaml@main
14+
with:
15+
deploy-action: |
16+
/permabit/ops/scripts/runJenkinsJob common-github
17+
deploy-action-failure: echo "deploy failed. see logs"

0 commit comments

Comments
 (0)