Skip to content

Commit

Permalink
Allow workflow to be dispatched (#10651)
Browse files Browse the repository at this point in the history
  • Loading branch information
chainchad authored Sep 14, 2023
1 parent 0f6f84b commit 5570d5a
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/build-publish-develop.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
name: 'Push develop to private ECR'
name: "Push develop to private ECR"

on:
push:
branches:
- develop
workflow_dispatch:
inputs:
git_ref:
description: "Git ref (commit SHA, branch name, tag name, etc.) to checkout"
required: true
env:
GIT_REF: ${{ github.event.inputs.git_ref || github.ref }}

jobs:
push-chainlink-develop:
Expand All @@ -25,7 +32,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0

with:
ref: ${{ env.GIT_REF }}
- name: Build, sign and publish chainlink image
uses: ./.github/actions/build-sign-publish-chainlink
with:
Expand Down

0 comments on commit 5570d5a

Please sign in to comment.