Skip to content

Commit 894ee69

Browse files
committed
Added rollback step.
1 parent 209e0a8 commit 894ee69

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/maven-publish.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,8 @@ jobs:
5555

5656
- name: Release to production
5757
run: mvn clean release:clean release:prepare release:perform -B -Darguments="-Ddevelop.api.key=${{ secrets.DEVELOP_SERVER_API_KEY }} -Dprod.eu1.api.key=${{ secrets.PROD_EU1_SERVER_API_KEY }} -Dprod.na1.api.key=${{ secrets.PROD_NA1_SERVER_API_KEY }}" -DpreparationGoals=install
58+
59+
- name: Rollback
60+
if: failure()
61+
continue-on-error: true
62+
run: mvn clean release:rollback -B && exit 1

0 commit comments

Comments
 (0)