@@ -100,22 +100,22 @@ jobs:
100
100
# reporter: java-junit
101
101
# fail-on-error: 'false'
102
102
103
- # publish:
104
- # name: Publish module
105
- # needs: [integration-tests-standalone ]
106
- # # Update this to be the branch you want to publish from
107
- # # Note: to be verified but it might be a redundant with branch restriction at the top
108
- # # If it is, please remove it.
109
- # if: github.ref == 'refs/heads/main'
110
- # runs-on: ubuntu-latest
111
- # container:
112
- # image: jahia/cimg-mvn-cache:ga_cimg_openjdk_11.0.20-node
113
- # credentials:
114
- # username: ${{ secrets.DOCKERHUB_USERNAME }}
115
- # password: ${{ secrets.DOCKERHUB_PASSWORD }}
116
- # steps:
117
- # - uses: actions/checkout@v2
118
- # - uses: jahia/jahia-modules-action/publish@v1
119
- # with:
120
- # nexus_username: ${{ secrets.NEXUS_USERNAME }}
121
- # nexus_password: ${{ secrets.NEXUS_PASSWORD }}
103
+ publish :
104
+ name : Publish module
105
+ needs : [build ]
106
+ # Update this to be the branch you want to publish from
107
+ # Note: to be verified but it might be a redundant with branch restriction at the top
108
+ # If it is, please remove it.
109
+ if : github.ref == 'refs/heads/main'
110
+ runs-on : ubuntu-latest
111
+ container :
112
+ image : jahia/cimg-mvn-cache:ga_cimg_openjdk_11.0.20-node
113
+ credentials :
114
+ username : ${{ secrets.DOCKERHUB_USERNAME }}
115
+ password : ${{ secrets.DOCKERHUB_PASSWORD }}
116
+ steps :
117
+ - uses : actions/checkout@v4
118
+ - uses : jahia/jahia-modules-action/publish@v2
119
+ with :
120
+ nexus_username : ${{ secrets.NEXUS_USERNAME }}
121
+ nexus_password : ${{ secrets.NEXUS_PASSWORD }}
0 commit comments