mirror of
https://github.com/Sheldan/abstracto.git
synced 2026-03-11 17:51:52 +00:00
[AB-199] adding build of sources and javadoc
fixing javadoc as various places adding release plugin adding developer connection to scm updating release pipeline to new action versions
This commit is contained in:
18
.github/workflows/release.yml
vendored
18
.github/workflows/release.yml
vendored
@@ -15,20 +15,16 @@ jobs:
|
||||
java-version: 1.8
|
||||
- name: Load current version
|
||||
id: version
|
||||
run: echo "::set-output name=version::$(mvn --file abstracto-application/pom.xml -q -Dexec.executable="echo" -Dexec.args='${project.version}' --non-recursive exec:exec)"
|
||||
run: echo "version=$(mvn --file abstracto-application/pom.xml -q -Dexec.executable="echo" -Dexec.args='${project.version}' --non-recursive exec:exec)" >> $GITHUB_ENV
|
||||
- name: Publish to GitHub Packages
|
||||
run: mvn --file abstracto-application/pom.xml -B deploy -P documentation,deployment-docker -Dmaven.wagon.http.pool=false -DskipTests=true
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Install SSH Client
|
||||
uses: webfactory/ssh-agent@v0.3.0
|
||||
with:
|
||||
ssh-private-key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
|
||||
- name: Deploy documentation to GitHub pages
|
||||
uses: JamesIves/github-pages-deploy-action@releases/v3
|
||||
uses: JamesIves/github-pages-deploy-action@4.1.0
|
||||
with:
|
||||
REPOSITORY_NAME: Sheldan/abstracto-docs
|
||||
TARGET_FOLDER: docs/${{ steps.version.outputs.version }}
|
||||
BRANCH: master
|
||||
SSH: true
|
||||
FOLDER: abstracto-application/documentation/target/generated-docs
|
||||
repository-name: Sheldan/abstracto-docs
|
||||
target-folder: docs/${{ env.version }}
|
||||
branch: master
|
||||
ssh-key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
|
||||
folder: abstracto-application/documentation/target/generated-docs
|
||||
Reference in New Issue
Block a user