mirror of
				https://github.com/f-droid/fdroidserver.git
				synced 2025-11-04 06:30:27 +03:00 
			
		
		
		
	🛰️ deploy: github releases
Implemented basic support for using `fdroid delpoy` to upload APKs from the repo to GitHub releases.
This commit is contained in:
		
							parent
							
								
									aeb8a7a3e5
								
							
						
					
					
						commit
						1b19293ab0
					
				
					 3 changed files with 255 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -211,6 +211,28 @@
 | 
			
		|||
#   - url: https://gitlab.com/user/repo
 | 
			
		||||
#     index_only: true
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# These settings allows using `fdroid deploy` for publishing APK files from
 | 
			
		||||
# your repository to GitHub Releases. (You should also run `fdroid update`
 | 
			
		||||
# every time before deploying to GitHub releases to update index files.) Here's
 | 
			
		||||
# an example for this deployment automation:
 | 
			
		||||
# https://github.com/f-droid/fdroidclient/releases/
 | 
			
		||||
#
 | 
			
		||||
# It is highly recommended to use a "Fine-grained personal access token", which
 | 
			
		||||
# is restriced to the minimum required permissions, which are:
 | 
			
		||||
#  * Metadata - read
 | 
			
		||||
#  * Contents - read/write
 | 
			
		||||
# Also make sure to limit access only to the GitHub repository you're deploying
 | 
			
		||||
# to. (https://github.com/settings/personal-access-tokens/new)
 | 
			
		||||
#
 | 
			
		||||
# github_releases:
 | 
			
		||||
#   - repo: f-droid/fdroidclient
 | 
			
		||||
#     token: {env: GITHUB_TOKEN}
 | 
			
		||||
#     packages:
 | 
			
		||||
#       - org.fdroid.basic
 | 
			
		||||
#       - org.fdroid.fdroid
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# Most git hosting services have hard size limits for each git repo.
 | 
			
		||||
# `fdroid deploy` will delete the git history when the git mirror repo
 | 
			
		||||
# approaches this limit to ensure that the repo will still fit when
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue