From b3158f56702035608f53a7ff06b9fa7656ad10ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Blaisot?= Date: Thu, 23 May 2024 13:47:54 +0200 Subject: [PATCH] Publish release packages to selfhost debian repo --- .github/workflows/release.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7eb9124c469..4ca5e2114d3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -97,3 +97,14 @@ jobs: run: | tag_name="${GITHUB_REF##*/}" gh release upload "$tag_name" packages/*.deb + update_repo: + runs-on: ubuntu-latest + needs: publish_deb_packages + steps: + - name: Update deb repo + env: + JENKINS_AUTH: ${{ secrets.JENKINS_AUTH }} + JENKINS_REPO_PUBLISH_JOB: ${{ secrets.JENKINS_REPO_PUBLISH_JOB }} + JENKINS_REPO_PUBLISH_TOKEN: ${{ secrets.JENKINS_REPO_PUBLISH_TOKEN }} + run: | + curl -fsSL --user ${JENKINS_AUTH} https://ci.cozycloud.cc/job/${JENKINS_REPO_PUBLISH_JOB}/buildWithParameters?token=${JENKINS_REPO_PUBLISH_TOKEN} -d "FORCE=false"