Files
kumomta/.github/workflows/publish-pkg-repos.yml
T
Wez Furlong 4ede25329c docs: use public URLs for repo definitions
add ubuntu sources.list files to the git repo, and publish to openrepo.

Now all our binary install instructions should work without requiring a github login while the repo is still private.
2023-03-13 23:02:02 -07:00

27 lines
669 B
YAML

name: Publish Package Repos
on:
push:
branches: [ "main" ]
paths:
- ".github/workflows/publish-pkg-repos.yml"
- "assets/yum.repos.d/*.repo"
- "assets/sources.list.d/*.list"
- "assets/upload-package.sh"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: "Publish"
if: ${{ github.ref == 'refs/heads/main' }}
env:
TOKEN: ${{ secrets.OPENREPO_API_TOKEN }}
shell: bash
run: |
./assets/upload-package.sh files assets/yum.repos.d/*.repo assets/sources.list.d/*.list