Skip to content

Commit

Permalink
chore: change release delete cron (#4010)
Browse files Browse the repository at this point in the history
  • Loading branch information
JashBook authored Jun 28, 2023
1 parent 30b27d6 commit 22a8eaf
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/release-delete.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@ name: RELEASE-DELETE

on:
schedule:
- cron: '18 0 * * 1-5'
- cron: '0 17 * * 1-5'
workflow_dispatch:
inputs:
release-version:
description: 'The version of KubeBlocks release'
required: true
default: ''

run-name: Delete Release:${{ inputs.release-version }}

jobs:
delete-release:
if: github.event_name != 'schedule'
Expand All @@ -21,7 +23,7 @@ jobs:

delete-release-schedule:
if: github.event_name == 'schedule'
uses: apecloud/apecloud-cd/.github/workflows/release-delete-schedule.yml@v0.1.5
uses: apecloud/apecloud-cd/.github/workflows/release-delete-schedule.yml@v0.1.6
with:
APECD_REF: "v0.1.5"
APECD_REF: "v0.1.6"
secrets: inherit

0 comments on commit 22a8eaf

Please sign in to comment.