Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
evgsentrium authored Oct 8, 2024
1 parent 4bc4f38 commit b27e920
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/trigger-vpp-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Trigger VPP build

on:
workflow_dispatch:

jobs:
trigger_build:
runs-on: ubuntu-latest
steps:
- name: Trigger VPP build
run: |
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.PAT }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/${{ secrets.REMOTE_OWNER }}/${{ secrets.REMOTE_REUSE_REPO }}/actions/workflows/build-package.yml/dispatches \
-d '{"ref": "main", "inputs":{"package_name":"vpp", "gpg_key_id": "${{ secrets.GPG_KEY_ID }}", "package_branch": "current", "pat":"${{ secrets.PAT }}"}}'

0 comments on commit b27e920

Please sign in to comment.