28 lines
1.0 KiB
Plaintext
28 lines
1.0 KiB
Plaintext
|
%title Webhooks
|
||
|
|
||
|
|
||
|
---------------------------
|
||
|
[[index.wiki|Index]]
|
||
|
---------------------------
|
||
|
|
||
|
last 5 posts
|
||
|
---------------------------
|
||
|
|
||
|
- [[1699558725-ref-290-submitted.wiki|REF-290 Submitted]]
|
||
|
- [[1699375988-ref-209-start.wiki|REF-290: Start]]
|
||
|
- [[1698642000-first-ticket.wiki|First Ticket]]
|
||
|
- [[1693890000-blog-issue.wiki|Blog Issue]]
|
||
|
- [[1693630800-hello-world.wiki|Hello World]]
|
||
|
|
||
|
*Date:* 2023/11/09
|
||
|
*Author:* Tristan Ancelet
|
||
|
|
||
|
= Webhooks =
|
||
|
== gitea ==
|
||
|
I just recently started hosting my own gitserver (gitea). Had a few issues setting it up due to some default values in the gitea.service file (that prevented the program from using port 80).
|
||
|
|
||
|
After getting that dealt with I decided to see what I could do with gitea's support for webhooks. So I decided to setup a webhook that will handle updating my blog when I push to my [[https://git.arcanium.tech/tristan/blog-site|Blog Repo]].
|
||
|
|
||
|
Once I push a new addition to the repo it now automatically makes a post request to my webhook server that will automatically update my website without intervention.
|
||
|
|