Skip to content

Commit

Permalink
Add -DdeployAtEnd=true and -DretryFailedDeploymentCount=3 to mvn deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
groldan committed Aug 5, 2024
1 parent 6c83013 commit 0285dba
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ jobs:

- name: Deploy to github packages maven repo
run: |
./mvnw deploy --batch-mode -DskipTests -ntp -fae -Dmaven.resolver.transport=wagon \
./mvnw deploy \
--batch-mode -DskipTests -ntp -fae -Dmaven.resolver.transport=wagon \
-DdeployAtEnd=true \
-DretryFailedDeploymentCount=3 \
-DaltDeploymentRepository=github::https://maven.pkg.github.com/camptocamp/geoserver-cloud-geoserver
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 0285dba

Please sign in to comment.