File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : CI Build
22
33on :
4+ workflow_call :
45 workflow_dispatch :
56 push :
67 branches : ["main"]
2728 steps :
2829 - name : Checkout repository
2930 uses : actions/checkout@v4
31+ with :
32+ repository : " llamara-ai/llamara-frontend"
3033
3134 - name : Set up NodeJS
3235 uses : actions/setup-node@v4
6164 - name : Upload build artifact
6265 uses : actions/upload-artifact@v4
6366 with :
64- name : dist
67+ name : vite- dist
6568 path : |
6669 dist
6770
7174 name : vitest-coverage
7275 path : |
7376 coverage
77+
78+ - name : Trigger distro build
79+ if : github.repository == 'llamara-ai/llamara-frontend' && github.event_name != 'pull_request' && github.ref_name == 'main'
80+ uses : peter-evans/repository-dispatch@v3
81+ with :
82+ token : ${{ secrets.DISTRO_DISPATCH_BUILD_TOKEN }}
83+ repository : llamara-ai/llamara-distro
84+ event-type : build
You can’t perform that action at this time.
0 commit comments