Commit 5b24556 1 parent dfcca1b commit 5b24556 Copy full SHA for 5b24556
File tree 4 files changed +42
-130
lines changed
4 files changed +42
-130
lines changed Load Diff This file was deleted.
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-SnwWD
18
+ ui-path : " console"
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 : " console"
Original file line number Diff line number Diff line change @@ -29,13 +29,19 @@ node {
29
29
nodeProjectDir = file(" ${ project.projectDir} /console" )
30
30
}
31
31
32
- task buildFrontend (type : PnpmTask ) {
32
+ tasks. register(' installDepsForUI' , PnpmTask ) {
33
+ args = [' install' ]
34
+ }
35
+
36
+ tasks. register(' buildFrontend' , PnpmTask ) {
33
37
args = [' build' ]
38
+ dependsOn(' installDepsForUI' )
34
39
}
35
40
36
41
build {
37
- // build frontend before build
38
- tasks. getByName(' compileJava' ). dependsOn(' buildFrontend' )
42
+ tasks. named(' compileJava' ). configure {
43
+ dependsOn(' buildFrontend' )
44
+ }
39
45
}
40
46
41
47
halo {
You can’t perform that action at this time.
0 commit comments