[OK!] Chapter 13. Building a Deployment Pipeline


Делаю:
2025.12.13


Тоже самое. За исключением мелочей, вроде установки ngrok, который в РФ не работает.


Устанавливаю ngrok


$ ngrok http 8080
Forwarding                    https://b26d9bc503c7.ngrok-free.app -> http://localhost:8080


Fork -> https://github.com/PacktPublishing/tekton-book-app


Github -> MyProject -> Settings -> Webhooks -> Add webhook


• Payload URL: This is your ngrok URL. (https://b26d9bc503c7.ngrok-free.app) • Content type: application/json. • Secret: Use the secret token you created earlier. You can view your token with the echo ${TEKTON_SECRET_TOKEN} command.


Which events would you like to trigger this webhook?

  • Just the push event


Add Webhook


Вносим изменения в исходный код.

https://github.com//tekton-book-app/blob/main/server.js


change: "here"


Меняем на

change: "the end"


Commit changes