mirror of
https://github.com/mailscope/kumomta.git
synced 2026-10-29 01:36:14 +00:00
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.
27 lines
669 B
YAML
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
|
|
|