Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
upload-cloud

GitHub Action

Github pages APT repo

v2.0.0

Github pages APT repo

upload-cloud

Github pages APT repo

Setup and manage APT repo on Github pages

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Github pages APT repo

uses: jrandiny/[email protected]

Learn more about this action in jrandiny/apt-repo-action

Choose a version

Github pages APT repo

This action will setup and manage a simple APT repo on your github pages

Inputs

github_token

Required Personal access token with commit and push scope granted.

repo_supported_arch

Required Newline-delimited list of supported architecture

repo_supported_version

Required Newline-delimited list of supported (linux) version

file

Required .deb files to be included

file_target_version

Required Version target of supplied .deb file

private_key

Required GPG private key for signing APT repo

public_key

GPG public key for APT repo

key_passphrase

Passphrase of GPG private key

page_branch

Branch of Github pages. Defaults to gh-pages

repo_folder

Location of APT repo folder relative to root of Github pages. Defaults to repo

Example usage

uses: jrandiny/apt-repo-action@v1
with:
  github_token: ${{ secrets.PAT }}
  arch: |
    amd64
    i386
  version: |
    bionic
    trusty
  file: my_program_bionic.deb
  file_target_version: bionic
  public_key: ${{ secrets.PUBLIC }}
  private_key: ${{ secrets.PRIVATE }}
  key_passphrase: ${{ secrets.SECRET }}