Add packaging/arch PKGBUILD and Forgejo Actions workflows
Some checks failed
Mirror to GitHub / mirror (push) Failing after 27s
Some checks failed
Mirror to GitHub / mirror (push) Failing after 27s
- packaging/arch/PKGBUILD: builds and publishes breadpad to [breadway] repo - .forgejo/workflows/mirror.yml: mirrors every push/tag to GitHub - .forgejo/workflows/package.yml: builds on tag, publishes to Forgejo registry Requires FORGEJO_TOKEN and GITHUB_MIRROR_TOKEN secrets in Forgejo. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
8c2b2e419e
commit
33ca7871d9
3 changed files with 100 additions and 0 deletions
20
.forgejo/workflows/mirror.yml
Normal file
20
.forgejo/workflows/mirror.yml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
name: Mirror to GitHub
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: ['**']
|
||||
tags: ['**']
|
||||
|
||||
jobs:
|
||||
mirror:
|
||||
runs-on: [self-hosted, hestia]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Push to GitHub
|
||||
run: |
|
||||
git remote add github \
|
||||
"https://x-access-token:${{ secrets.GITHUB_MIRROR_TOKEN }}@github.com/Breadway/breadpad.git"
|
||||
git push github --mirror
|
||||
Loading…
Add table
Add a link
Reference in a new issue