From c07e6940bafc53d45766c5557d83cd83d3d37087 Mon Sep 17 00:00:00 2001 From: nihonium Date: Wed, 8 Oct 2025 02:51:28 +0300 Subject: [PATCH] fix: added workflow_dispatch --- .forgejo/workflows/build-and-deploy.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/build-and-deploy.yml b/.forgejo/workflows/build-and-deploy.yml index fe6b1c4..16d59d5 100644 --- a/.forgejo/workflows/build-and-deploy.yml +++ b/.forgejo/workflows/build-and-deploy.yml @@ -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: |