Skip to content

About

GitHub Action: Maven Deploy with Site

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github-action-maven-deploy-site

Composite GitHub Action that deploys Maven artifacts and Maven site.

Usage example:

# 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: Maven Deploy with Site
        uses: wcm-io-devops/github-action-maven-deploy-site@v1
        with:
          java-version: 21
          maven-executable: ./mvnw
          sonatype-username: ${{ secrets.SONATYPE_USERNAME }}
          sonatype-password: ${{ secrets.SONATYPE_PASSWORD }}
          github-site-site-deploy-email: ${{ secrets.GH_SITE_DEPLOY_EMAIL }}
          github-site-site-deploy-name: ${{ secrets.GH_SITE_DEPLOY_NAME }}
          github-site-site-deploy-username: ${{ secrets.GH_SITE_DEPLOY_USERNAME }}
          github-site-site-deploy-password: ${{ secrets.GH_SITE_DEPLOY_PAT }}

For all parameters, see action.yml.

About

GitHub Action: Maven Deploy with Site

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors