File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -149,6 +149,22 @@ jobs:
149149
150150 echo "✅ Tag $VERSION created and pushed successfully"
151151
152+ - name : Trigger deployment workflow
153+ if : steps.check_tag.outputs.tag_exists == 'false'
154+ env :
155+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
156+ run : |
157+ VERSION="${{ steps.version.outputs.version }}"
158+
159+ echo "🚀 Manually triggering deployment workflow for tag $VERSION..."
160+
161+ # Trigger the deploy workflow by creating a repository dispatch event
162+ # Since we can't directly trigger tag-based workflows, we'll use workflow_dispatch
163+ # But first, let's try using the GitHub CLI to trigger it
164+ gh workflow run deploy.yml --ref "$VERSION" || echo "⚠️ Could not trigger via workflow dispatch, deployment should trigger automatically"
165+
166+ echo "✅ Deployment trigger attempted"
167+
152168 # STEP 2: CREATE BACK-MERGE TO DEVELOP
153169 - name : Generate unique back-merge branch name
154170 id : branch_name
You can’t perform that action at this time.
0 commit comments