java-service-dependencies/.github/workflows/deploy.yml

23 lines
557 B
YAML
Raw Normal View History

2022-01-13 18:01:45 +00:00
name: Deploy package
2021-12-29 07:14:04 +00:00
on:
push:
branches:
- 'master'
- 'main'
jobs:
2022-01-13 18:01:45 +00:00
deploy:
2021-12-29 07:14:04 +00:00
runs-on: ubuntu-20.04
steps:
2022-01-13 18:01:45 +00:00
- name: Checkout Repo
uses: actions/checkout@v2
- name: Deploy package
uses: valitydev/action-deploy-jdk-package@v1.0.12
2021-12-29 07:14:04 +00:00
with:
2022-01-13 18:01:45 +00:00
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 }}