2023-03-14 08:16:03 -04:00
|
|
|
name: Deploy
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Set up JDK 1.8
|
|
|
|
uses: actions/setup-java@v1
|
|
|
|
with:
|
|
|
|
java-version: 8
|
|
|
|
distribution: temurin
|
2023-03-14 08:37:35 -04:00
|
|
|
overwrite-settings: true
|
2023-03-14 08:16:03 -04:00
|
|
|
server-id: opencollab-snapshot-repo
|
2023-03-14 08:49:34 -04:00
|
|
|
server-username: MAVEN_USERNAME
|
|
|
|
server-password: MAVEN_PASSWORD
|
2023-03-14 08:16:03 -04:00
|
|
|
- name: Deploy with Maven
|
2023-03-14 08:37:35 -04:00
|
|
|
run: mvn deploy -B -P deploy
|
2023-03-14 08:49:34 -04:00
|
|
|
env:
|
|
|
|
MAVEN_USERNAME: ${{ vars.DEPLOY_USER }}
|
|
|
|
MAVEN_PASSWORD: ${{ secrets.DEPLOY_PASS }}
|