Skip to content

[gitflow-maven-plugin] Update for next development version 2024.10.18… #215

[gitflow-maven-plugin] Update for next development version 2024.10.18…

[gitflow-maven-plugin] Update for next development version 2024.10.18… #215

Workflow file for this run

# Deploy snapshots to Sonatype OSS repository and deploy site to GitHub Pages
name: Deploy
concurrency: ${{ github.workflow }}
on:
push:
branches:
- develop
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Configure GIT
run: |
git config --global user.email "${{ secrets.GH_SITE_DEPLOY_EMAIL }}"
git config --global user.name "${{ secrets.GH_SITE_DEPLOY_NAME }}"
- name: Setup JDK
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 11
cache: maven
- name: Build, verify, deploy
env:
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
run: ./mvnw -s ./.maven-settings.xml -B -U clean deploy