Skip to content

Commit

Permalink
readme & gh action ?
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean Ribes committed Jul 31, 2021
1 parent abdcf95 commit f4b809e
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 4 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Publish package to GitHub Packages
on:
release:
types: [created]
jobs:
publish:
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'
- name: Publish package
run: mvn --batch-mode deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# extension keycloak: group mapper
projet de build basé sur https://github.com/thomasdarimont/keycloak-extension-playground/tree/master/simple-oidc-mapper
# Keycloak OIDC IdentityProvider group mapper extension
working extension build thanks to [@thomasdarimont](https://github.com/thomasdarimont/keycloak-extension-playground/tree/master/simple-oidc-mapper)
## Build
```shell
mvn clean install
mvn package
```

copier le JAR dans `target/` dans le dossier `standalone/deployments` de votre serveur Keycloak
## Install
copy the generated JAR in `target/` (or download from Github releases) to standalone/deployments` in you keycloak server files
8 changes: 8 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@
<version>1.0.0</version>
<packaging>jar</packaging>

<distributionManagement>
<repository>
<id>github</id>
<name>GitHub Packages</name>
<url>https://maven.pkg.github.com/JeanRibes/keycloak-idp-group-mapper</url>
</repository>
</distributionManagement>

<properties>

<!-- general settings -->
Expand Down

0 comments on commit f4b809e

Please sign in to comment.