diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 2d4dd79ac0..567dc7f002 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,17 +1,27 @@ name: Deploy + on: repository_dispatch: - [deploy] + types: [deploy] workflow_dispatch: inputs: action: - description: action (deploy/restart/stop) + description: 'Action' required: true - default: restart + type: choice + options: + - 'deploy' + - 'restart' + - 'stop' + default: 'restart' branch: - description: branch, meaning server instance (sweetpie/indev) + description: 'Branch, meaning server instance' required: true - default: indev + type: choice + options: + - 'sweetpie' + - 'indev' + default: 'indev' env: BUILD_TYPE: RelWithDebInfo