| 
					
				 | 
			
			
				@@ -49,7 +49,7 @@ jobs: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         path: "*.deb" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    publish: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     name: Publish 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    runs-on: [ubuntu-latest] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    runs-on: ubuntu-latest 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     if: ${{ github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     needs: build 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     steps: 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -81,3 +81,12 @@ jobs: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         body: ${{ steps.format_release.outputs.changelog }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         token: ${{ secrets.PAT }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         artifacts: "artifacts/debs-generic/pve-headers-*.deb,artifacts/debs-generic/linux-tools-*.deb,artifacts/debs-*/pve-kernel-*.deb" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    - name: Release to CloudSmith 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      run: | 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        pip install --upgrade cloudsmith-cli 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        find artifacts/debs-generic \ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          -name '*.deb' \ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          -not -name "*dbgsym*" \ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          -exec cloudsmith push deb pve-edge/kernel/any-distro/any-version {} --republish \; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      env: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        CLOUDSMITH_API_KEY: ${{ secrets.CLOUDSMITH_API_KEY }} 
			 |