diff options
| author | crystal <crystal@noreply.codeberg.org> | 2024-04-28 07:27:34 -0600 |
|---|---|---|
| committer | crystal <crystal@noreply.codeberg.org> | 2024-04-28 07:27:34 -0600 |
| commit | 856693ebcff1d4d8383feeea3bb45125913d0e68 (patch) | |
| tree | 6c72e6e91046ee5381c620fd386e04232a5ed66c | |
| parent | 42f4030384866b4709fb7eda8a15d182e2a3675a (diff) | |
[temp] publish repo deb
| -rw-r--r-- | .forgejo/workflows/forgejo-deb.yml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/.forgejo/workflows/forgejo-deb.yml b/.forgejo/workflows/forgejo-deb.yml index 796677a..230e554 100644 --- a/.forgejo/workflows/forgejo-deb.yml +++ b/.forgejo/workflows/forgejo-deb.yml @@ -191,6 +191,34 @@ 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 + 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: runs-on: bookworm if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') |
