mirror of
https://github.com/tinyhumansai/openhuman.git
synced 2026-07-28 13:32:23 +00:00
Update GitHub Actions workflow to trigger on completion of version bump
- Changed the workflow trigger from push events on the main branches to a workflow_run event that activates upon the completion of the "Version Bump" workflow. - This adjustment streamlines the CI/CD process by ensuring that packaging and publishing only occur after version updates are finalized. These changes enhance the automation and reliability of the deployment pipeline.
This commit is contained in:
@@ -9,15 +9,12 @@
|
||||
name: Package and publish
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: ["master","main"]
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
forceRelease:
|
||||
description: "Force release build even without publishing"
|
||||
required: false
|
||||
type: boolean
|
||||
default: false
|
||||
workflow_run:
|
||||
workflows: ["Version Bump"]
|
||||
types:
|
||||
- completed
|
||||
branches:
|
||||
- main
|
||||
|
||||
env:
|
||||
IS_ON_MASTER: ${{ github.ref == 'refs/heads/master' }}
|
||||
|
||||
Reference in New Issue
Block a user