Skip to content

Deploy to BlueColored Repo #2

Deploy to BlueColored Repo

Deploy to BlueColored Repo #2

Workflow file for this run

name: Deploy to BlueColored Repo
on:
release:
types: [ released ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Set up credentials
run: echo "<settings><servers><server><id>bluecolored-releases</id><username>${{ secrets.MAVEN_NAME }}</username><password>${{ secrets.MAVEN_SECRET }}</password></server></servers></settings>" > ~/.m2/settings.xml
- name: Deploy
run: mvn clean deploy