Skip to content

Commit

Permalink
Publish release packages to selfhost debian repo (#4408)
Browse files Browse the repository at this point in the history
This pull request add an actions workflow step to trigger selfhosting
debian repo update after all packages for a new release have been
published
  • Loading branch information
sblaisot authored May 23, 2024
2 parents f651bed + b3158f5 commit 2e9f141
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 2e9f141

Please sign in to comment.