chore: push to see latest post in profile readme #7
This file contains hidden or 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
| name: Trigger Profile Update | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| notify-profile: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Ping Profile Repository | |
| run: | | |
| curl -f -i -s -L \ | |
| -X POST \ | |
| -H "Accept: application/vnd.github+json" \ | |
| -H "Authorization: Bearer ${{ secrets.PROFILE_UPDATE_TOKEN }}" \ | |
| -H "X-GitHub-Api-Version: 2022-11-28" \ | |
| https://api.github.com/repos/ullaskunder3/ullaskunder3/dispatches \ | |
| -d '{"event_type": "blog_published"}' |