blog-wiki/1699564352-webhooks.wiki

36 lines
1.2 KiB
Plaintext
Raw Normal View History

2023-11-09 21:20:08 +00:00
%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]]
2023-11-25 20:22:35 +00:00
---------------------------
2023-11-09 21:20:08 +00:00
*Date:* 2023/11/09
2023-11-18 22:09:14 +00:00
2023-11-09 21:20:08 +00:00
*Author:* Tristan Ancelet
= Webhooks =
== gitea ==
2023-11-09 21:32:03 +00:00
-----------
2023-11-09 21:20:08 +00:00
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]].
2023-11-09 21:32:03 +00:00
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 manual intervention.
== This Post ==
---------------
This post was simply being used to test that functionality in gitea.
2023-11-09 21:20:08 +00:00