Skip to content

Commit

Permalink
internal: fix deploy.yml syntax & improve inputs UX (#1747)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pospelove authored Nov 25, 2023
1 parent 7c7957e commit e3f961f
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit e3f961f

Please sign in to comment.