This action will setup and manage a simple APT repo on your github pages
Required Personal access token with commit and push scope granted. Can be set by using the github.token environment variable in your workflow.
Required Newline-delimited list of supported architecture
Required Newline-delimited list of supported (linux) version
Required .deb file(s) to be included - accepts wildcards
Required Version target of supplied .deb file
Required GPG private key for signing APT repo
GPG public key for APT repo
Passphrase of GPG private key
Branch of Github pages. Defaults to gh-pages
Location of APT repo folder relative to root of Github pages. Defaults to repo
Target repository of the Github pages. Defaults to current repository.
jobs:
add_repo:
runs-on: ubuntu-latest
needs: build-debs
strategy:
max-parallel: 1
matrix:
os-version: ["buster", "bullseye", "bookworm", "noble", "jammy", "focal"]
arch: ["amd64", "arm64"]
steps:
- uses: actions/download-artifact@v4
with:
name: "packages-${{ matrix.os-version }}-${{ matrix.arch }}"
- name: Add ${{ matrix.arch }}/${{ matrix.os-version }} release
uses: smeinecke/[email protected]
with:
github_token: ${{ github.token }}
repo_supported_arch: |
amd64
arm64
repo_supported_version: |
buster
bullseye
bookworm
noble
jammy
focal
file: |
*~${{ matrix.os-version }}*.deb
file_target_version: ${{ matrix.os-version }}
private_key: ${{ secrets.APT_SIGNING_KEY }}
public_key: ${{ secrets.APT_SIGNING_PUBKEY }}
key_passphrase: ${{ secrets.APT_SIGNING_KEY_PASSPHRASE }}