Cronjob that runs a bash script when a Roblox experience has been updated.
Useful for for example triggering your CI pipelines after builders save their progress.
- Docker
- Or, if your host machine supports cron: bash, coreutils, curl and jq (of which some may have been installed by default).
- Copy
.env.example
to.env
and enter the fields. If you're going to use thetrigger_github_actions
action, uncomment all those variables. See the GitHub Docs for what each variable entails. - To build the Docker image, execute:
docker build . -t experience-update-trigger
- To run the built image in a container, execute:
With
docker run --env-file .env experience-update-trigger <ACTION_NAME>
ACTION_NAME
being the name of the script in actions you want the cronjob to run when an update has been detected. This defaults totrigger_github_actions
The cronjob also triggers on AutoSaves.
If in the future I find a better endpoint that for example includes information about when a game has lastly been published, this project could be improved to using that. If you happen to know such endpoint on the Roblox API, feel free to open an issue!