Skip to content

Commit ec48228

Browse files
committed
Adds workflow to trigger static deployment after merging cvclaude branch
Automates the static deployment process by triggering the static.yml workflow after successfully merging the cvclaude branch content into the 360 subfolder. This ensures the latest changes are immediately reflected in the static deployment.
1 parent daaa95b commit ec48228

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/merge-cvclaude-to-360.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,13 @@ jobs:
7373
7474
git status
7575
git commit -m "Update 360 subfolder with cvclaude branch content" || echo "No changes to commit"
76-
git push origin main
76+
git push origin main
77+
78+
- name: Trigger static deployment workflow
79+
run: |
80+
# Trigger the static.yml workflow manually using GitHub API
81+
curl -X POST \
82+
-H "Accept: application/vnd.github.v3+json" \
83+
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
84+
https://api.github.com/repos/${{ github.repository }}/actions/workflows/static.yml/dispatches \
85+
-d '{"ref":"main"}'

0 commit comments

Comments
 (0)