Skip to content

Update dependency io.fabric8:docker-maven-plugin to v0.43.3 #189

Update dependency io.fabric8:docker-maven-plugin to v0.43.3

Update dependency io.fabric8:docker-maven-plugin to v0.43.3 #189

name: Build and deploy
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Cache local Maven repository
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${symbol_dollar}{{ runner.os }}-maven-${symbol_dollar}{{ hashFiles('**/pom.xml') }}
restore-keys: |
${symbol_dollar}{{ runner.os }}-maven-
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
- name: Build and Test
run: ./mvnw clean verify
- name: Code Quality
uses: codecov/codecov-action@v3
- uses: actions/upload-artifact@v3
with:
name: successful-build
retention-days: 5
path: |
target
deploy:
if: github.event_name == 'push'
needs: [ 'build' ]
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v3
with:
name: successful-build
path: target
- name: Deploy Documentation
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./target/generated-docs