Add PUT and DELETE to preflight allowed methods (#3278) #590
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: Notify HeyPuter | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| notify: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Trigger heyputer build | |
| run: | | |
| curl -X POST \ | |
| -H "Authorization: token ${{ secrets.HEYPUTER_DISPATCH_TOKEN }}" \ | |
| -H "Accept: application/vnd.github.v3+json" \ | |
| https://api.github.com/repos/HeyPuter/heyputer/dispatches \ | |
| -d '{"event_type":"puter-main-updated","client_payload":{"puter_ref":"main"}}' |