https://github.com/netlify/hook-site
https://github.com/netlify/hook-site
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/netlify/hook-site
- Owner: netlify
- Created: 2021-01-21T14:43:14.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-03-10T10:13:44.000Z (over 2 years ago)
- Last Synced: 2025-02-25T13:15:44.691Z (4 months ago)
- Language: CSS
- Size: 39.1 KB
- Stars: 0
- Watchers: 5
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# simple-site
[](https://app.netlify.com/start/deploy?repository=https://github.com/netlify/hook-site)
## Instructions
1. Deploy to Netlify
2. Create a [build hook](https://docs.netlify.com/configure-builds/build-hooks/)
3. Trigger a build via the hook's URL, provide page content via the hook's body.
Optionally, you can also provide a title for the deploy to be displayed in
Netlify's UI.
```
curl -X POST -d 'Hola, mundo!' -H 'Content-Type: text/plain' https://api.netlify.com/build_hooks/XXXXXXXXXXXXXXXXXXXXXXXX?trigger_title=Build+triggered+via+hook
```