Skip to content

Commit

Permalink
gitlab: add container triggering
Browse files Browse the repository at this point in the history
Signed-off-by: David Caro <[email protected]>
  • Loading branch information
david-caro committed May 3, 2024
1 parent c07484d commit 619dad0
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/trigger_build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Trigger build
on:
push:
branches: [main]

jobs:
trigger-bulid:
name: Trigger container build
runs-on: ubuntu-latest
steps:
- name: Trigger container build
run: |
curl -L \
-H "Accept: application/vnd.github+json" \
-H "Authorization: token ${{ secrets.EXPENSES_TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/farting-lizards/expenses-container/dispatches \
-d '{"event_type": "expenses-react change"}'

0 comments on commit 619dad0

Please sign in to comment.