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]
|
||||
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:
|
||||
runs-on: bullseye
|
||||
steps:
|
||||
|
@ -203,27 +189,20 @@ jobs:
|
|||
- uses: crystal/install-jq-action@v2.1.0
|
||||
- run: mkdir forgejo-release
|
||||
- run: mv *.deb *.deb.sha256 forgejo-release/
|
||||
|
||||
- uses: actions/forgejo-release@v1
|
||||
with:
|
||||
direction: upload
|
||||
url: https://codeberg.org
|
||||
token: ${{ secrets.codeberg_api_key }}
|
||||
release-dir: forgejo-release
|
||||
|
||||
- uses: actions/forgejo-release@v1
|
||||
with:
|
||||
direction: upload
|
||||
url: https://code.forgejo.org
|
||||
url: https://forgejo.glicid.fr
|
||||
token: ${{ secrets.cfo_api_key }}
|
||||
release-dir: forgejo-release
|
||||
|
||||
- name: Debian package registry publish
|
||||
env:
|
||||
FORGEJO_SITE: https://code.forgejo.org
|
||||
FORGEJO_OWNER: forgejo-contrib
|
||||
DEBIAN_DIST: bullseye
|
||||
DEBIAN_COMPONENT: forgejo-lts
|
||||
FORGEJO_SITE: https://forgejo.glicid.fr
|
||||
FORGEJO_OWNER: GLiCID
|
||||
DEBIAN_DIST: bookworm
|
||||
DEBIAN_COMPONENT: forgejo
|
||||
FORGEJO_KEY: ${{ secrets.cfo_api_key }}
|
||||
run: |
|
||||
cd forgejo-release
|
||||
|
|
Loading…
Add table
Reference in a new issue