{"id":24629643,"url":"https://github.com/csutorasa/ppa-pages","last_synced_at":"2025-03-20T04:36:10.385Z","repository":{"id":273279625,"uuid":"919187724","full_name":"csutorasa/ppa-pages","owner":"csutorasa","description":"Personal Package Archives for Ubuntu on Github Pages","archived":false,"fork":false,"pushed_at":"2025-01-19T23:33:19.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-20T00:23:22.538Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/csutorasa.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-19T22:59:31.000Z","updated_at":"2025-01-19T23:33:08.000Z","dependencies_parsed_at":"2025-01-20T00:23:31.719Z","dependency_job_id":"b0a0ccba-4966-4696-b78b-c1b25092f10e","html_url":"https://github.com/csutorasa/ppa-pages","commit_stats":null,"previous_names":["csutorasa/ppa-pages"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csutorasa%2Fppa-pages","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csutorasa%2Fppa-pages/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csutorasa%2Fppa-pages/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csutorasa%2Fppa-pages/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/csutorasa","download_url":"https://codeload.github.com/csutorasa/ppa-pages/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244554045,"owners_count":20471172,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-25T06:13:31.421Z","updated_at":"2025-03-20T04:36:10.358Z","avatar_url":"https://github.com/csutorasa.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# PPA Pages\n\n[Personal Package Archives](https://launchpad.net/ubuntu/+ppas) for [Ubuntu](https://ubuntu.com/) on [Github Pages](https://pages.github.com/).\n\nThis action can be used in Github Pages, to [maintain an Ubuntu PPA](https://help.ubuntu.com/community/CreateAuthenticatedRepository).\n\n## How to use\n\n1. Create a GPG key to sign files in the PPA directory. [Github docs](https://docs.github.com/en/authentication/managing-commit-signature-verification/generating-a-new-gpg-key) has documentation for that.\n2. Create Github Pages repository. [Github pages](https://pages.github.com/) has a documentation for that.\n3. Create a directory in the repository.\n4. Add the `.deb` files to the directory.\n5. Create a repository secret [Github docs](https://docs.github.com/en/actions/security-for-github-actions/security-guides/using-secrets-in-github-actions#creating-secrets-for-a-repository) has documentation for that.\n6. Create a workflow to generate the PPA files.\n\n## Inputs\n\n| Input            | Description                                           | Required |\n| ---------------- | ----------------------------------------------------- | -------- |\n| actor            | Github username to use for commit-and-push            | false    |\n| actor-id         | Github user ID to use for commit-and-push             | false    |\n| base-dir         | Path to the directory, where the PPA should be set up | true     |\n| list-name        | Name of the .list file, preferably a unique name      | true     |\n| private-key      | GPG private key to sign the files with                | true     |\n| repository-owner | Github repository owner to use for the .list file     | true     |\n\n## Outputs\n\nThere are no outputs.\n\n## Example workflow\n\n```yml\nname: Build PPA\n\non:\n  workflow_dispatch:\n\njobs:\n  package:\n    name: Update PPA\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Generate PPA\n        uses: csutorasa/ppa-pages@main\n        with:\n          base-dir: ppa\n          list-name: my_ppa\n          private-key: ${{ secrets.PRIVATE_KEY }}\n          repository-owner: ${{ github.repository_owner }}\n```\n\n## Example workflow with commit and push\n\n```yml\nname: Build PPA\n\non:\n  workflow_dispatch:\n\njobs:\n  package:\n    name: Update PPA\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Generate and update PPA\n        uses: csutorasa/ppa-pages@main\n        with:\n          actor: ${{ github.actor }}\n          actor-id: ${{ github.actor_id }}\n          base-dir: ppa\n          list-name: my_ppa\n          private-key: ${{ secrets.PRIVATE_KEY }}\n          repository-owner: ${{ github.repository_owner }}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsutorasa%2Fppa-pages","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcsutorasa%2Fppa-pages","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsutorasa%2Fppa-pages/lists"}