This commit is contained in:
crystal 2024-04-28 13:03:48 -06:00
parent 43eaa353a8
commit d0dfedd50f
No known key found for this signature in database
GPG key ID: 1122054731F7CC43

View file

@ -191,46 +191,6 @@ jobs:
- 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: forgejo-deb-repo stub"
env:
FORGEJO_SITE: https://code.forgejo.org
FORGEJO_OWNER: forgejo-contrib
DEBIAN_DIST: bullseye
DEBIAN_COMPONENT: forgejo-lts
FORGEJO_KEY: ${{ secrets.cfo_api_key }}
run: |
cd repo-deb
../.ci-forgejo-apt.sh forgejo-deb-repo_0-0_all.deb
cd ..
- name: "Debian package registry publish: forgejo-deb-repo"
env:
FORGEJO_SITE: https://code.forgejo.org
FORGEJO_OWNER: forgejo-contrib
DEBIAN_DIST: bullseye
DEBIAN_COMPONENT: forgejo-lts
FORGEJO_KEY: ${{ secrets.cfo_api_key }}
run: |
cd repo-deb
../.ci-forgejo-apt.sh forgejo-deb-repo_2-4_all.deb
cd ..
publish-release-repo:
runs-on: bookworm
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && github.repository == 'forgejo-contrib/forgejo-deb'