Skip to content

Commit

Permalink
Add github action
Browse files Browse the repository at this point in the history
  • Loading branch information
MozkaGit committed Aug 22, 2023
1 parent eef1543 commit c1da058
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/jenkinsTrigger.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
on:
pull_request:
branches:
- main
types: [closed]

jobs:
build:
if: github.event.pull_request.merged == true
name: Build
runs-on: ubuntu-latest
steps:
- name: trigger NetDevOps Job
uses: appleboy/jenkins-action@master
with:
url: "http://34.142.72.59"
user: "example"
token: ${{ secrets.JENKINS }}
job: "NetDevOps"

0 comments on commit c1da058

Please sign in to comment.