File tree Expand file tree Collapse file tree 4 files changed +41
-132
lines changed
Expand file tree Collapse file tree 4 files changed +41
-132
lines changed Original file line number Diff line number Diff line change 1+ name : CD
2+
3+ on :
4+ release :
5+ types :
6+ - published
7+
8+ jobs :
9+ cd :
10+ uses : halo-sigs/reusable-workflows/.github/workflows/plugin-cd.yaml@v1
11+ secrets :
12+ halo-username : ${{ secrets.HALO_USERNAME }}
13+ halo-password : ${{ secrets.HALO_PASSWORD }}
14+ permissions :
15+ contents : write
16+ with :
17+ app-id : app-DlacW
18+ ui-path : " ."
Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+ branches :
9+ - main
10+
11+ jobs :
12+ ci :
13+ uses : halo-sigs/reusable-workflows/.github/workflows/plugin-ci.yaml@v1
14+ with :
15+ ui-path : " ."
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -31,13 +31,17 @@ node {
3131 nodeProjectDir = file(" ${ project.projectDir} " )
3232}
3333
34- task buildFrontend (type : PnpmTask ) {
34+ tasks. register(' installDepsForUI' , PnpmTask ) {
35+ args = [' install' ]
36+ }
37+
38+ tasks. register(' buildFrontend' , PnpmTask ) {
3539 args = [' build:packages' ]
40+ dependsOn(' installDepsForUI' )
3641}
3742
38- build {
39- // build frontend before build
40- tasks. getByName(' compileJava' ). dependsOn(' buildFrontend' )
43+ tasks. named(' build' ). configure {
44+ dependsOn(' buildFrontend' )
4145}
4246
4347halo {
You can’t perform that action at this time.
0 commit comments