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

31 lines
671 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
2021-09-24 13:47:36 +00:00
permissions:
contents: read
2021-09-24 13:47:36 +00:00
packages: write
steps:
2021-09-24 13:47:36 +00:00
- name: Check out Admin UI
uses: actions/checkout@v2
- name: Set up Java
uses: actions/setup-java@v2
with:
2021-09-24 13:47:36 +00:00
distribution: temurin
java-version: 11
2021-09-24 13:47:36 +00:00
check-latest: true
cache: maven
- name: Build and deploy Admin UI
run: mvn --batch-mode deploy
env:
2021-09-24 13:47:36 +00:00
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}