In this video, we use an open source project to create an API that runs bashscripts. For this setup, we only need a service like Cloud Run (or a similar Docker environment like Kubernetes), a Dockerfile, a simple YAML configuration, and our bash/shell script. We use HTTP request properties as bash script arguments, and can layer on security measures like Bearer tokens for authorization.

Demonstrated Code: https://github.com/nodematiclabs/bash-webhook-api

Open Source Project: https://github.com/adnanh/webhook

Other Video Tutorials

3 Tricks for Network Debugging on Google Cloud Platform

Tutorial Details

Automatic GitHub Releases with GitHub Actions

Tutorial Details

Cloud-Based Development Environments with Google Cloud

Tutorial Details