Skip to content

Commit

Permalink
chore: added a new input branch
Browse files Browse the repository at this point in the history
With this new input we can select which branch we want to use
from the cloudnative-pg project

Closes #23

Signed-off-by: Jonathan Gonzalez V <[email protected]>
  • Loading branch information
sxd committed Nov 27, 2023
1 parent 1b0f5ea commit 4c5286c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/continuous-delivery.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: continuous-delivery
on:
workflow_dispatch:
inputs:
branch:
description: "branch name used to pull the operator (default: main)"
required: true
default: "main"
schedule:
- cron: '0 1 * * *'

Expand Down Expand Up @@ -108,7 +113,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: cloudnative-pg/cloudnative-pg
ref: main
ref: ${{ env.BRANCH }}
fetch-depth: 0

- name: Install Go
Expand Down

0 comments on commit 4c5286c

Please sign in to comment.