mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-12 18:15:31 +00:00
ci: edit
This commit is contained in:
1 parent
dd143313a5
commit
dffe943e89
9 files changed
+104
-40
No files matched your search
+5
-5
@@ -6,11 +6,11 @@ on:
|
||||
version_type:
|
||||
description: 'Upgrade to version'
|
||||
required: true
|
||||
default: 'stable'
|
||||
default: 'Stable'
|
||||
type: choice
|
||||
options:
|
||||
- stable
|
||||
- canary
|
||||
- Stable
|
||||
- Beta (Preview)
|
||||
schedule:
|
||||
# Run at 05:00 on Monday
|
||||
- cron: '0 5 * * 1'
|
||||
@@ -57,11 +57,11 @@ jobs:
|
||||
- name: Run Upgrade CLI
|
||||
env:
|
||||
# Use manual input or default to stable for scheduled runs
|
||||
VERSION_TYPE: ${{ inputs.version_type || 'stable' }}
|
||||
VERSION_TYPE: ${{ inputs.version_type || 'Stable' }}
|
||||
run: |
|
||||
FLAGS="--yes --ci"
|
||||
|
||||
if [ "$VERSION_TYPE" == "canary" ]; then
|
||||
if [ "$VERSION_TYPE" == "Beta (Preview)" ]; then
|
||||
FLAGS="$FLAGS --canary"
|
||||
fi
|
||||
|
||||
|
||||
Reference in new issue
Block a user