Files
my_nvim_config/.github/workflows/trigger_rebuild.yaml

22 lines
564 B
YAML

name: Trigger Container Rebuild
on:
push:
branches:
- main
jobs:
trigger:
runs-on: ubuntu-latest
steps:
- name: Trigger rebuild
env:
GH_TOKEN: ${{ secrets.PUBLIC_ACTION_TRIGGER_TOKEN }}
run: |
gh api \
--method POST \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
/repos/Cian-H/my_nvim/dispatches \
-f "event_type=on-demand-test" -F "client_payload[unit]=false" -F "client_payload[integration]=true"