-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6caac94
commit 2f783d9
Showing
1 changed file
with
4 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 }}' | ||
} | ||
}) | ||
|
@@ -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).' | ||
}) | ||
|