diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
new file mode 100644
index 0000000000..90304150b3
--- /dev/null
+++ b/.github/workflows/publish.yml
@@ -0,0 +1,22 @@
+name: Publish package
+on:
+ push:
+ branches: [master]
+defaults:
+ run:
+ working-directory: keycloak-theme
+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
+ - run: mvn --batch-mode deploy
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
\ No newline at end of file
diff --git a/keycloak-theme/pom.xml b/keycloak-theme/pom.xml
index 81159de7e5..ef77db44b1 100644
--- a/keycloak-theme/pom.xml
+++ b/keycloak-theme/pom.xml
@@ -20,7 +20,7 @@
org.keycloak
keycloak-admin-ui
- 0.0.1-SNAPSHOT
+ 16.0.0-SNAPSHOT
Keycloak Administration UI
@@ -31,15 +31,13 @@
-
+
- jboss
- https://repository.jboss.org/nexus/content/groups/public/
-
- false
-
+ github
+ GitHub Packages
+ https://maven.pkg.github.com/keycloak/keycloak-admin-ui
-
+