Skip to content

Commit

Permalink
get PR
Browse files Browse the repository at this point in the history
  • Loading branch information
drmowinckels committed Apr 18, 2024
1 parent 6caac94 commit 2f783d9
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/trigger-website.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@ jobs:
name: Trigger
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: 8BitJonny/[email protected]
id: PR

- name: Trigger test build
uses: actions/github-script@v7
Expand All @@ -27,7 +25,7 @@ jobs:
ref: 'main',
inputs: {
blogs: '${{ github.run_id }}',
triggering_issue: '${{ steps.make-pr.outputs.pull-request-number }}',
triggering_issue: '${{ steps.PR.outputs.number }}',
triggering_repo: '${{ github.event.repository.name }}'
}
})
Expand All @@ -41,7 +39,7 @@ jobs:
await github.rest.issues.createComment({
owner: 'rladies',
repo: 'awesome-rladies-blogs',
issue_number: '${{ steps.make-pr.outputs.pull-request-number }}',
issue_number: '${{ steps.PR.outputs.number }}',
body: 'Building test-site now! The build will take a few minutes, but look at its progress in the [website repo](https://github.com/rladies/rladies.github.io/actions/workflows/build-preview.yaml).'
})
Expand Down

0 comments on commit 2f783d9

Please sign in to comment.