add deploy to gitea packages
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				Gitea Action Maven build / build (push) Failing after 1m31s
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	Gitea Action Maven build / build (push) Failing after 1m31s
				
			This commit is contained in:
		| @@ -27,4 +27,21 @@ jobs: | |||||||
|         with: |         with: | ||||||
|           name: searchengine-artifact |           name: searchengine-artifact | ||||||
|           path: | |           path: | | ||||||
|             target/*.jar |             target/*.jar | ||||||
|  |       - name: Create Maven settings.xml | ||||||
|  |         run: | | ||||||
|  |           cat <<EOF > ~/.m2/settings.xml | ||||||
|  |           <settings> | ||||||
|  |             <servers> | ||||||
|  |               <server> | ||||||
|  |                 <id>gitea</id> | ||||||
|  |                 <username>${{ vars.OWNER }}</username> | ||||||
|  |                 <password>${{ secrets.ACCESS_TOKEN }}</password> | ||||||
|  |               </server> | ||||||
|  |             </servers> | ||||||
|  |           </settings> | ||||||
|  |           EOF | ||||||
|  |       - name: Replace {owner} in pom.xml | ||||||
|  |         run: sed -i "s/{owner}/${{ vars.OWNER }}/g" pom.xml | ||||||
|  |       - name: Deploy to Gitea Packages | ||||||
|  |         run: mvn deploy | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Eduard Kuksa
					Eduard Kuksa