jamtools / rpi-deploy

0 stars 0 forks source link

Download all artifacts for usage #11

Open mickmister opened 1 month ago

mickmister commented 1 month ago

rpi-deploy-manifest.json should be present. All artifacts are downloaded, so any code present in the supplied init or command command can assume all artifacts are present when running. init is used to install any dependencies, while command is used for running the application.

It should be easy to specify which files you want include as an artifact. You can use a zip file as an artifact, and then unzip it in the init command.

The manifest contains the actual bash commands you want to run, which ideally is a call to a script for each of init and command

mickmister commented 1 month ago

The dev supplies certain arguments to the action to describe which files to include, and what to use for init and command. The action will construct the manifest file based on the arguments supplied to the action. And then selectively do one or both of these based on passed in arguments: