fix: added workflow_dispatch

This commit is contained in:
nihonium 2025-10-08 02:51:28 +03:00
parent 1fdb82ed0d
commit c07e6940ba
Signed by: nihonium
GPG key ID: 0251623741027CFC

View file

@ -4,7 +4,12 @@ on:
push:
branches:
- master
pull_request:
workflow_dispatch:
do_deploy:
description: 'Deploy dev version'
required: true
type: boolean
default: false
jobs:
build:
@ -27,7 +32,7 @@ jobs:
deploy:
runs-on: self-hosted
needs: build
if: ${{ github.event.inputs.deploy == 'true' }} # manual deploy trigger
if: ${{ github.event.inputs.do_deploy == 'true' }} # manual deploy trigger
steps:
- name: Deploy container locally
run: |