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:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
pull_request:
|
workflow_dispatch:
|
||||||
|
do_deploy:
|
||||||
|
description: 'Deploy dev version'
|
||||||
|
required: true
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
@ -27,7 +32,7 @@ jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
needs: build
|
needs: build
|
||||||
if: ${{ github.event.inputs.deploy == 'true' }} # manual deploy trigger
|
if: ${{ github.event.inputs.do_deploy == 'true' }} # manual deploy trigger
|
||||||
steps:
|
steps:
|
||||||
- name: Deploy container locally
|
- name: Deploy container locally
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue