mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-04 01:19:41 +00:00
ci: add workflow_dispatch with workspace ref input
This commit is contained in:
@@ -5,6 +5,13 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- release/healthchat
|
- release/healthchat
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
healthchat_workspace_ref:
|
||||||
|
description: "healthchat-workspace git ref (tag, branch, or SHA). Leave empty for default branch."
|
||||||
|
required: false
|
||||||
|
default: ""
|
||||||
|
type: string
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-healthchat-app:
|
build-healthchat-app:
|
||||||
@@ -31,6 +38,7 @@ jobs:
|
|||||||
repository: Novaloop-AG/healthchat-workspace
|
repository: Novaloop-AG/healthchat-workspace
|
||||||
path: healthchat-workspace
|
path: healthchat-workspace
|
||||||
token: ${{ secrets.HEALTHCHAT_WORKSPACE_TOKEN }}
|
token: ${{ secrets.HEALTHCHAT_WORKSPACE_TOKEN }}
|
||||||
|
ref: ${{ github.event.inputs.healthchat_workspace_ref || '' }}
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user