diff --git a/1699564352-webhooks.wiki b/1699564352-webhooks.wiki new file mode 100644 index 0000000..135cfd8 --- /dev/null +++ b/1699564352-webhooks.wiki @@ -0,0 +1,27 @@ +%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. + diff --git a/index.wiki b/index.wiki index 991194a..00e3a07 100644 --- a/index.wiki +++ b/index.wiki @@ -7,6 +7,8 @@ ## Blog Posts ------------- +- [[1699564352-webhooks.wiki|2023/11/09 - Webhooks ]] + - [[1699558725-ref-290-submitted.wiki|2023/11/09 - REF-290 Submitted ]] - [[1699375988-ref-209-start.wiki|2023/11/07 - REF-290: Start ]]