Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: Rajpal Chauhan <[email protected]>
  • Loading branch information
rajpalc7 committed Feb 29, 2024
1 parent 28e651b commit 3d048aa
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: Build and Deploy Image
on:
workflow_dispatch:
inputs:
service:
description: 'Service to build and deploy'
required: true
default: 'aries-endorser-agent'
# service:
# description: 'Service to build and deploy'
# required: true
# default: 'aries-endorser-agent'
git_repo_url:
description: 'Git repository URL'
required: true
Expand Down Expand Up @@ -58,7 +58,7 @@ env:

jobs:
build:
if: (github.repository == 'bcgov/dts-endorser-service') || (github.event_name == 'workflow_dispatch')
if: (github.repository == 'bcgov/dts-endorser-service') || (github.event_name == 'workflow_dispatch' && github.event.inputs.service)
name: Build Image
permissions:
packages: write
Expand Down

0 comments on commit 3d048aa

Please sign in to comment.