From a1475df6f9b6600a6f644f79601dd041d44131e6 Mon Sep 17 00:00:00 2001 From: bjohnsto <52761129+bjohnsto@users.noreply.github.com> Date: Mon, 8 Sep 2025 12:01:09 -0400 Subject: [PATCH] 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. --- .github/workflows/deploy.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..088533c --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,17 @@ +name: Deployment + +on: + pull_request: + types: + [ closed ] +jobs: + Run-Common-Deployment: + if: github.event.pull_request.merged == true + runs-on: [self-hosted, trusted] + steps: + - name: Run-Jenkins + uses: dm-vdo/vdo-org-actions/.github/workflows/deploy.yaml@main + with: + deploy-action: | + /permabit/ops/scripts/runJenkinsJob common-github + deploy-action-failure: echo "deploy failed. see logs"