Skip to content

Commit b01f26e

Browse files
bordeuxclaude
andcommitted
ci: add APT repository update trigger on release
- Triggers bordeux/apt-repo update-repo.yml workflow after release - Passes project=bordeux/tmpltool to update specific package - Requires APT_REPO_TOKEN secret with workflow dispatch permission 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 0b1afb5 commit b01f26e

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,3 +298,16 @@ jobs:
298298
-H "Accept: application/vnd.github.v3+json" \
299299
https://api.github.com/repos/bordeux/homebrew-tap/actions/workflows/update-formulas.yml/dispatches \
300300
-d '{"ref":"main","inputs":{"project":"tmpltool"}}'
301+
302+
update-apt-repo:
303+
name: Trigger APT Repository Update
304+
needs: [semantic-release, upload-release-assets]
305+
runs-on: ubuntu-latest
306+
steps:
307+
- name: Trigger apt-repo workflow
308+
run: |
309+
curl -X POST \
310+
-H "Authorization: token ${{ secrets.APT_REPO_TOKEN }}" \
311+
-H "Accept: application/vnd.github.v3+json" \
312+
https://api.github.com/repos/bordeux/apt-repo/actions/workflows/update-repo.yml/dispatches \
313+
-d '{"ref":"main","inputs":{"project":"bordeux/tmpltool"}}'

0 commit comments

Comments
 (0)