File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 7474
7575 deploy-prod :
7676 runs-on : ubuntu-latest
77- if : startsWith (github.event.head_commit.message, 'chore') && endsWith(github.event .head_commit.message, 'version release')
77+ if : contains (github.event.workflow_run .head_commit.message, 'version release')
7878 needs : [ build ]
7979 steps :
8080 - uses : actions/download-artifact@v3
@@ -101,7 +101,7 @@ jobs:
101101 ProxyJump bastion
102102
103103 - name : Check if artifact exists
104- run : ssh learnweb test -f " ${{ secrets.DEPLOY_PATH }}/ROOT##${{ needs.build.outputs.version }}.war" && exit 1
104+ run : ' ! ssh learnweb test -f ' ${{ secrets.DEPLOY_PATH }}/ROOT##${{ needs.build.outputs.version }}.war' || false"
105105
106106 - name : Copy artifact to server
107107 run : rsync -avzh --ignore-existing ROOT##*.war learnweb:${{ secrets.DEPLOY_PATH }}/
Original file line number Diff line number Diff line change 77 <groupId >de.l3s</groupId >
88 <artifactId >learnweb</artifactId >
99 <!-- Because Tomcat treats version as String, we need to use zero paddings to make sure v10 is newer than v9 -->
10- <version >3.21.01 </version >
10+ <version >3.22.00 </version >
1111 <packaging >war</packaging >
1212
1313 <name >Learnweb</name >
You can’t perform that action at this time.
0 commit comments