Code Monkey home page Code Monkey logo

Comments (8)

virresh avatar virresh commented on August 22, 2024 1

Great then !

If we're hosting a flask app, lets make a full fledged github app for this
It will add a status message from the backend on the master branch as well :)

from byld-website.

virresh avatar virresh commented on August 22, 2024 1

I have completely integrated the webhook for now
and added a security check to confirm it is github originated

Now I need some collaboration in the checks api
If someone has experience on how to trigger that pls do.

(We have instant pushes right now ;)

from byld-website.

virresh avatar virresh commented on August 22, 2024

Can you check the compatibility of webhooks with our vpn ?
If this works, it would be awesome and mean that we can direct our travis/netlfy to deploy directly without any hassles

from byld-website.

peey avatar peey commented on August 22, 2024

compatibility of webhooks with our vpn

What do you mean compatibility with vpn?

from byld-website.

virresh avatar virresh commented on August 22, 2024

I was unable to get ssh access without using our foriclient vpn
If there's any way to get the ssh access or just copy stuff also
Then it wold work just fine
(SInce github webhooks won't have an access to the forticlient vpn anyways and we need github servers to be able to communicate to iiitd servers)

from byld-website.

peey avatar peey commented on August 22, 2024

When one of those events is triggered, we'll send a HTTP POST payload to the webhook's configured URL.

What we can do is use flask to statically host the built site it downloads from gh-pages branch and a special URL to which when it receives post requests, it would pull and build

Tho we'll have to keep this url endpoint secret / ratelimit it / have some way to check authenticity that request was made by github to avoid anyone sending a lot of requests to it and crashing it

from byld-website.

peey avatar peey commented on August 22, 2024

Seems like we could use this:
image

To make sure that it's from github

from byld-website.

virresh avatar virresh commented on August 22, 2024

https://github.com/virresh/byldWebsite/runs/5971776

GitHub App finalised !
We will now get all information about failures directly from the branch check :D

from byld-website.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.