Skip to content

Commit

Permalink
Publish release packages to selfhost debian repo
Browse files Browse the repository at this point in the history
  • Loading branch information
sblaisot committed May 23, 2024
1 parent 04454fd commit b3158f5
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 b3158f5

Please sign in to comment.