[temp] publish repo deb
This commit is contained in:
parent
42f4030384
commit
856693ebcf
|
@ -191,6 +191,34 @@ jobs:
|
||||||
|
|
||||||
- run: ./.ci-make.sh install-run-test ./forgejo-bin_*_amd64.deb
|
- run: ./.ci-make.sh install-run-test ./forgejo-bin_*_amd64.deb
|
||||||
|
|
||||||
|
publish-repo-deb:
|
||||||
|
runs-on: bookworm
|
||||||
|
if: github.event_name == 'push' && github.repository == 'forgejo-contrib/forgejo-deb'
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: actions prep
|
||||||
|
id: ciprep
|
||||||
|
run: ./.ci-make.sh actions-prep
|
||||||
|
|
||||||
|
- uses: actions/download-artifact@v3
|
||||||
|
with:
|
||||||
|
name: forgejo-deb-${{ steps.ciprep.outputs.artifactlabel }}
|
||||||
|
|
||||||
|
- uses: crystal/install-jq-action@v2.1.0
|
||||||
|
|
||||||
|
- name: Debian package registry publish
|
||||||
|
env:
|
||||||
|
FORGEJO_SITE: https://code.forgejo.org
|
||||||
|
FORGEJO_OWNER: forgejo-contrib
|
||||||
|
DEBIAN_DIST: bullseye
|
||||||
|
DEBIAN_COMPONENT: forgejo
|
||||||
|
FORGEJO_KEY: ${{ secrets.cfo_api_key }}
|
||||||
|
run: |
|
||||||
|
cd repo-deb
|
||||||
|
../.ci-forgejo-apt.sh forgejo-deb-repo_2-*_all.deb
|
||||||
|
cd ..
|
||||||
|
|
||||||
publish-release-repo:
|
publish-release-repo:
|
||||||
runs-on: bookworm
|
runs-on: bookworm
|
||||||
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
|
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
|
||||||
|
|
Loading…
Reference in a new issue