add maven deploy
Some checks failed
Gitea Action Maven build / build (push) Failing after 1m16s

This commit is contained in:
Eduard Kuksa 2025-01-25 20:45:35 +07:00
parent e855d7c583
commit 88002bae57
3 changed files with 33 additions and 0 deletions

View File

@ -22,3 +22,5 @@ jobs:
cache: 'maven'
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Deploy to Gitea
run: mvn deploy

15
.m2/settings.xml Normal file
View File

@ -0,0 +1,15 @@
<settings>
<servers>
<server>
<id>gitea</id>
<configuration>
<httpHeaders>
<property>
<name>Authorization</name>
<value>token 6aa376ddebecafd405fef588a7ff753a353a7f21</value>
</property>
</httpHeaders>
</configuration>
</server>
</servers>
</settings>

16
pom.xml
View File

@ -56,4 +56,20 @@
</plugins>
</build>
<repositories>
<repository>
<id>gitea</id>
<url>https://git.kuksa.dev/api/packages/edkuksa/maven</url>
</repository>
</repositories>
<distributionManagement>
<repository>
<id>gitea</id>
<url>https://git.kuksa.dev/api/packages/edkuksa/maven</url>
</repository>
<snapshotRepository>
<id>gitea</id>
<url>https://git.kuksa.dev/api/packages/edkuksa/maven</url>
</snapshotRepository>
</distributionManagement>
</project>