8000 GitHub - csutorasa/ppa-pages at v1.0.0
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

csutorasa/ppa-pages

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

PPA Pages

Personal Package Archives for Ubuntu on Github Pages.

This action can be used in Github Pages, to maintain an Ubuntu PPA.

How to use

  1. Create a GPG key to sign files in the PPA directory. Github docs has documentation for that.
  2. Create Github Pages repository. Github pages has a documentation for that.
  3. Create a directory in the repository.
  4. Add the .deb files to the directory.
  5. Create a repository secret Github docs has documentation for that.
  6. Create a workflow to generate the PPA files.

Inputs

Input Description Required
actor Github username to use for commit-and-push false
actor_id Github user ID to use for commit-and-push false
base-dir Path to the directory, where the PPA should be set up true
list-name Name of the .list file, preferably a unique name true
private-key GPG private key to sign the files with true
repository-owner Github repository owner to use for the .list file true

Outputs

There are no outputs.

Example workflow

name: Build PPA

on:
  workflow_dispatch:

jobs:
  package:
    name: Update PPA
    runs-on: ubuntu-latest
    steps:
      - name: Checkout repository
        uses: actions/checkout@v4
      - name: Generate PPA
        uses: csutorasa/ppa-pages@main
        with:
          base-dir: ppa
          list-name: my_ppa
          private-key: ${{ secrets.PRIVATE_KEY }}
          repository-owner: ${{ github.repository_owner }}

Example workflow with commit and push

name: Build PPA

on:
  workflow_dispatch:

jobs:
  package:
    name: Update PPA
    runs-on: ubuntu-latest
    permissions:
      contents: write
    steps:
      - name: Checkout repository
        uses: actions/checkout@v4
      - name: Generate and update PPA
        uses: csutorasa/ppa-pages@main
        with:
          actor: ${{ github.actor }}
          actor-id: ${{ github.actor_id }}
          base-dir: ppa
          list-name: my_ppa
          private-key: ${{ secrets.PRIVATE_KEY }}
          repository-owner: ${{ github.repository_owner }}

About

Personal Package Archives for Ubuntu on Github Pages

Resources

License

Stars

Watchers

Forks

Packages

No packages published
0