Skip to content

Cronjob that runs a bash script when a Roblox experience has been updated.

License

Notifications You must be signed in to change notification settings

batavicaludos/experience-update-trigger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

experience-update-trigger

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.

Prerequisites

  • Docker
  • Or, if your host machine supports cron: bash, coreutils, curl and jq (of which some may have been installed by default).

Installation

  1. Copy .env.example to .env and enter the fields. If you're going to use the trigger_github_actions action, uncomment all those variables. See the GitHub Docs for what each variable entails.
  2. To build the Docker image, execute:
    docker build . -t experience-update-trigger
    
  3. To run the built image in a container, execute:
    docker run --env-file .env experience-update-trigger <ACTION_NAME>
    
    With ACTION_NAME being the name of the script in actions you want the cronjob to run when an update has been detected. This defaults to trigger_github_actions

Note

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!

Releases

No releases published

Packages

No packages published