-
Notifications
You must be signed in to change notification settings - Fork 0
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
033c0b5
commit a6755dc
Showing
1 changed file
with
5 additions
and
11 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 |
---|---|---|
@@ -1,19 +1,13 @@ | ||
name: Notify Main Repository | ||
name: Trigger Netlify Build | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- main | ||
|
||
jobs: | ||
notify-main-repo: | ||
notify-netlify: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Notify Main Repository | ||
uses: peter-evans/repository-dispatch@v2 | ||
with: | ||
token: ${{ secrets.PAT }} # Personal Access Token with repo access | ||
repository: danielrosehill/Documetation-Root-Repo | ||
event-type: update-submodule | ||
client-payload: '{"submodule": "${{ github.repository }}"}' | ||
- name: Trigger Netlify Build Hook | ||
run: curl -X POST -d '{}' ${{ secrets.NETLIFY_BUILD_HOOK_URL }} |