Skip to content

Artifact deployment #12

Artifact deployment

Artifact deployment #12

Workflow file for this run

name: Artifact deployment
on:
release:
types: [created]
jobs:
github:
name: Github deployment
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Deploy to Github
uses: bernardo-mg/maven-github-deployment-action@develop
with:
token: ${{ secrets.GITHUB_TOKEN }}
ossrh:
name: OSSRH deployment
runs-on: ubuntu-latest
steps:
- name: Deploy
uses: bernardo-mg/maven-signed-deployment-action@develop
with:
username: ${{ secrets.OSSRH_USERNAME }}
password: ${{ secrets.OSSRH_TOKEN }}
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }}