Files
fivem-resource-watcher/action.yml
T
TheiLLeniumStudios c98c66dda7 Add basic action
2023-02-06 09:21:47 +00:00

28 lines
734 B
YAML

name: "FiveM Resource Watcher"
description: "Watches for changed resources and restarts them"
inputs:
restartIndividualResources:
description: "Restart resources individually or restart the whole server"
required: false
default: true
serverIP:
description: "IP of the FiveM server"
required: true
default: ""
serverPort:
description: "Port of the FiveM server"
required: false
default: 30120
rconPassword:
description: "Password that you have set for rcon"
required: true
default: ""
runs:
using: "docker"
image: "Dockerfile"
args:
- ${{ inputs.restartIndividualResources }}
- ${{ inputs.serverIP }}
- ${{ inputs.serverPort }}
- ${{ inputs.rconPassword }}