keycloak-scim/.github/workflows/publish.yml

23 lines
517 B
YAML
Raw Normal View History

name: Publish package
on:
push:
branches: [master]
defaults:
run:
working-directory: keycloak-theme
jobs:
publish:
if: github.repository_owner == 'keycloak'
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
java-version: 11
distribution: adopt
- run: mvn --batch-mode deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}