testing repo hosting
Some checks failed
/ installtest-bookworm-user (push) Has been cancelled
/ testsuite-repo-upgrade-sqlite (push) Has been cancelled
/ installtest-buster-bin (push) Has been cancelled
/ installtest-bookworm-sqlite (push) Failing after 1m17s
/ installtest-bullseye-sqlite (push) Failing after 1m21s
/ publish-release-repo (push) Has been cancelled
/ installtest-buster-sqlite (push) Has been cancelled
/ build-forgejo-deb (push) Has been cancelled
Some checks failed
/ installtest-bookworm-user (push) Has been cancelled
/ testsuite-repo-upgrade-sqlite (push) Has been cancelled
/ installtest-buster-bin (push) Has been cancelled
/ installtest-bookworm-sqlite (push) Failing after 1m17s
/ installtest-bullseye-sqlite (push) Failing after 1m21s
/ publish-release-repo (push) Has been cancelled
/ installtest-buster-sqlite (push) Has been cancelled
/ build-forgejo-deb (push) Has been cancelled
This commit is contained in:
parent
8c50d64e5d
commit
eebd057bf6
2 changed files with 5 additions and 33 deletions
|
@ -1,7 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
git fetch --tags
|
|
||||||
git remote add action-forgejo-mirror https://action-forgejo-mirror:$FORGEJO_KEY@$FORGEJO_DEST/$GITHUB_REPOSITORY
|
|
||||||
git push action-forgejo-mirror --all
|
|
||||||
git push action-forgejo-mirror --tags "refs/remotes/origin/*:refs/heads/*"
|
|
||||||
git remote remove action-forgejo-mirror
|
|
|
@ -1,19 +1,5 @@
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
jobs:
|
jobs:
|
||||||
mirror:
|
|
||||||
runs-on: bookworm
|
|
||||||
if: github.event_name == 'push' && github.repository == 'forgejo-contrib/forgejo-deb'
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
|
|
||||||
- name: "mirror repo: code.forgejo.org"
|
|
||||||
env:
|
|
||||||
FORGEJO_DEST: code.forgejo.org
|
|
||||||
FORGEJO_KEY: ${{ secrets.cfo_api_key }}
|
|
||||||
run: ./.action-forgejo-mirror.sh
|
|
||||||
|
|
||||||
build-forgejo-deb:
|
build-forgejo-deb:
|
||||||
runs-on: bullseye
|
runs-on: bullseye
|
||||||
steps:
|
steps:
|
||||||
|
@ -207,23 +193,16 @@ jobs:
|
||||||
- uses: actions/forgejo-release@v1
|
- uses: actions/forgejo-release@v1
|
||||||
with:
|
with:
|
||||||
direction: upload
|
direction: upload
|
||||||
url: https://codeberg.org
|
url: https://forgejo.glicid.fr
|
||||||
token: ${{ secrets.codeberg_api_key }}
|
|
||||||
release-dir: forgejo-release
|
|
||||||
|
|
||||||
- uses: actions/forgejo-release@v1
|
|
||||||
with:
|
|
||||||
direction: upload
|
|
||||||
url: https://code.forgejo.org
|
|
||||||
token: ${{ secrets.cfo_api_key }}
|
token: ${{ secrets.cfo_api_key }}
|
||||||
release-dir: forgejo-release
|
release-dir: forgejo-release
|
||||||
|
|
||||||
- name: Debian package registry publish
|
- name: Debian package registry publish
|
||||||
env:
|
env:
|
||||||
FORGEJO_SITE: https://code.forgejo.org
|
FORGEJO_SITE: https://forgejo.glicid.fr
|
||||||
FORGEJO_OWNER: forgejo-contrib
|
FORGEJO_OWNER: GLiCID
|
||||||
DEBIAN_DIST: bullseye
|
DEBIAN_DIST: bookworm
|
||||||
DEBIAN_COMPONENT: forgejo-lts
|
DEBIAN_COMPONENT: forgejo
|
||||||
FORGEJO_KEY: ${{ secrets.cfo_api_key }}
|
FORGEJO_KEY: ${{ secrets.cfo_api_key }}
|
||||||
run: |
|
run: |
|
||||||
cd forgejo-release
|
cd forgejo-release
|
||||||
|
|
Loading…
Add table
Reference in a new issue