Skip to content

Commit b3d5c26

Browse files
committed
fix name registry
1 parent 472d241 commit b3d5c26

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Deploy AI Org Chart Builder Demo
22

33
on:
44
push:
5-
branches: [ main, next ]
5+
branches: [ main, next, test ]
66

77
jobs:
88
build-and-deploy:
@@ -36,12 +36,14 @@ jobs:
3636
context: .
3737
file: Dockerfile
3838
push: true
39-
tags: ${{ secrets.CUSTOM_REGISTRY_URL }}/ai-org-chart-builder:${{ github.ref_name }}
39+
tags: ${{ secrets.CUSTOM_REGISTRY_URL }}/${USERNAME}/ai-org-chart-builder:${{ github.ref_name }}
4040

41-
- name: Trigger Server Restart Webhook
41+
- name: Trigger Server Restart Webhook
4242
run: |
4343
if [ "${{ github.ref_name }}" = "main" ]; then
4444
curl -X POST "${{ secrets.WEBHOOK_URL_MAIN }}"
4545
elif [ "${{ github.ref_name }}" = "next" ]; then
4646
curl -X POST "${{ secrets.WEBHOOK_URL_NEXT }}"
47+
elif [ "${{ github.ref_name }}" = "test" ]; then
48+
curl -X POST "${{ secrets.WEBHOOK_URL_NEXT }}"
4749
fi

0 commit comments

Comments
 (0)