Don't forget to set POST webhook payload format to "application/json" (not form)
$ go get github.com/adnanh/webhook
$ sudo systemctl daemon-reload
$ sudo systemctl enable webhook
$ sudo service webhook start
$ journalctl -u webhook
Hello |
Don't forget to set POST webhook payload format to "application/json" (not form)
$ go get github.com/adnanh/webhook
$ sudo systemctl daemon-reload
$ sudo systemctl enable webhook
$ sudo service webhook start
$ journalctl -u webhook
aws s3 sync --acl public-read --sse --delete /path/to/static/site/ s3://www.mywebsite.com | |
aws configure set preview.cloudfront true | |
aws cloudfront create-invalidation --distribution-id xxx --paths '/*' |
deployment: | |
production: | |
branch: master | |
commands: | |
- now -t ${NOW_TOKEN} alias set $(now -t ${NOW_TOKEN}) mydomain.com |