fix: added workflow_dispatch
This commit is contained in:
parent
1fdb82ed0d
commit
c07e6940ba
1 changed files with 7 additions and 2 deletions
|
|
@ -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: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue