|
| 1 | +# Webhooks + REST FAQ - test |
| 2 | + |
| 3 | +## Where can I find the presentation slides? |
| 4 | + |
| 5 | +You can download it from [here](https://speakerdeck.com/bswinnerton/building-github-integrations-with-webhooks-and-rest). |
| 6 | + |
| 7 | +## What do I need to get started? |
| 8 | + |
| 9 | +The workshop code and pre reqs can be found [here](https://github.com/githubsatelliteworkshops/webhooks-with-rest#mega-prerequisites). |
| 10 | + |
| 11 | +## What do I need to do to clean up? |
| 12 | + |
| 13 | +Inside the workshop's code root folder, run the following script: |
| 14 | + |
| 15 | +```bash |
| 16 | +script/reset |
| 17 | +``` |
| 18 | + |
| 19 | +It should kill both the webserver and ngrok. |
| 20 | + |
| 21 | +## I just want to see the complete code. What do I do? |
| 22 | + |
| 23 | +To see everything running, you still need to setup everything mentioned in the [workshop guide](https://github.com/githubsatelliteworkshops/webhooks-with-rest/blob/master/workshop.md ). |
| 24 | + |
| 25 | +But if you just want to see the full code, run the following in your terminal: |
| 26 | + |
| 27 | +```bash |
| 28 | +git clone [email protected]:githubsatelliteworkshops/webhooks-with-rest.git |
| 29 | + |
| 30 | +cd webhooks-with-rest |
| 31 | + |
| 32 | +git checkout verify-webhooks |
| 33 | +``` |
| 34 | + |
| 35 | +Majority of the code lives under `webhooks-with-rest/changelogger/app/controllers/webhooks_controller.rb` |
| 36 | + |
| 37 | +## What's the difference between GitHub Actions vs Webhooks? |
| 38 | + |
| 39 | +GitHub Actions is built on top of GitHub Apps and webhooks and is tuned towards helping you with your CI/CD needs. |
| 40 | + |
| 41 | +Outside of that domain, you can use webhooks to trigger other automations such as when other users interact with your repo. |
| 42 | + |
| 43 | +## Where can I manage my GitHub Webhooks? And how do I redeliver a webhook? |
| 44 | + |
| 45 | +You can add, edit, and delete your webhooks [here](https://github.com/jovel/webhooks-with-rest/settings/hooks). |
| 46 | + |
| 47 | +When you edit a webhook, you can scroll all the way to the bottom to the section called `Recent Deliveries`. Click on ellipsis to the right of each webhook to expand the content. There should be a `Redeliver` button. |
| 48 | + |
| 49 | +## How do I create a personal access token (PAT)? |
| 50 | + |
| 51 | +Create a new personal access token [here](https://github.com/settings/tokens/new). |
| 52 | + |
| 53 | +More detailed instructions can be found in our [help docs](https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line). |
| 54 | + |
| 55 | +## I'm getting 404 when I navigate to GitHub Pages. What do I do? |
| 56 | + |
| 57 | +Sorry, you'll have to wait for a little bit. It takes Pages a few minutes to build before it can display the content. |
0 commit comments