Skip to content

Commit

Permalink
updatd workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
danielrosehill committed Nov 21, 2024
1 parent 033c0b5 commit a6755dc
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/notify-main-repo.yml
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 }}

0 comments on commit a6755dc

Please sign in to comment.