Merge pull request #15 from valitydev/workflows

Workflows
This commit is contained in:
malkoas 2023-06-06 14:44:40 +03:00 committed by GitHub
commit 29260c7d85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 12 deletions

View File

@ -1,10 +1,7 @@
name: Maven Build Artifact
name: Build Artifact
on:
pull_request:
branches:
- '*'
- pull_request
jobs:
build:
uses: valitydev/base-workflow/.github/workflows/maven-swag-build.yml@v1
uses: valitydev/java-workflow/.github/workflows/maven-swag-build.yml@v2

View File

@ -1,17 +1,16 @@
name: Maven Deploy Artifact
name: Deploy Artifact
on:
push:
branches:
- 'master'
- 'main'
branches: [master]
jobs:
deploy:
uses: valitydev/base-workflow/.github/workflows/maven-swag-deploy.yml@v1
uses: valitydev/java-workflow/.github/workflows/maven-swag-deploy.yml@v2
secrets:
server-username: ${{ secrets.OSSRH_USERNAME }}
server-password: ${{ secrets.OSSRH_TOKEN }}
deploy-secret-key: ${{ secrets.OSSRH_GPG_SECRET_KEY }}
deploy-secret-key-password: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}
github-token: ${{ secrets.GITHUB_TOKEN }}
mm-webhook-url: ${{ secrets.MATTERMOST_WEBHOOK_URL }}