Skip to content

Commit

Permalink
Remove working directory in action.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Tanner Lewis <lewijacn@amazon.com>
  • Loading branch information
lewijacn committed Sep 18, 2024
1 parent 9e5dd18 commit 12a175a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ jobs:
trigger-jenkins:
runs-on: ubuntu-latest
steps:
- uses: lewijacn/trigger-jenkins@v1.0
- name: Jenkins Job Trigger and Monitor
uses: lewijacn/jenkins-trigger@1.0.1
with:
jenkins_url: 'https://test-jenkins-url'
job_name: 'test-job'
Expand Down
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ runs:
with:
python-version: 3.11
- name: Install dependencies for python webhook
working-directory: ./webhook-trigger
run: |
cd webhook-trigger
python3 -m pip install --upgrade pipenv
pipenv install --deploy
shell: bash
- name: Trigger jenkins job and wait for completion
working-directory: ./webhook-trigger
run: |
cd webhook-trigger
if [[ "${GITHUB_EVENT_NAME}" == "pull_request" ]]; then
branch_name="${{ github.event.pull_request.head.ref }}"
pr_repo_url="https://github.com/${{ github.event.pull_request.head.repo.full_name }}.git"
Expand Down

0 comments on commit 12a175a

Please sign in to comment.