Skip to content

Latest commit

 

History

History
19 lines (18 loc) · 1.47 KB

README.md

File metadata and controls

19 lines (18 loc) · 1.47 KB

Debian/Arch PPA Template

This is a template of a ppa that watches the specified repositorues for releases and adds any .deb or .pkg.gz files it finds to the ppa.

Requirements

How to Setup

  1. First start by using this template and then clone it to your PC.
  2. Then run SETUP_PPA.sh parameters including name, email, url.
    • name - Name of the PPA taht you'd like.
    • email - Email to sign the debain ppa
    • url - url of the ppa
      • to find out the url go to the repository settings > Pages > (set source to master/main) and /(root), and then click save and it will show you the url)
./SETUP_PPA.sh example-ppa [email protected] "https://octocat.github.io/example-ppa"
  1. copy the contents of debian/keys/(ppa-name).private.key into a GitHub Actions Secret called GPG_KEY - Creating encrypted secrets for a repository
  2. edit ppa-config.json and add strings to github repos that you have releases on in the format of "username/repo"
  3. Commit and push back to your repo and the Github Actions should do it's work.