Skip to content

Commit

Permalink
Merge pull request #395 from snyk/feat/trigger-api-tooling
Browse files Browse the repository at this point in the history
feat: trigger api-tooling rebuild at end of CD pipeline
  • Loading branch information
jgresty authored Nov 4, 2024
2 parents 6c5d97b + f9a405f commit 95fc344
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,15 @@ jobs:
./scripts/release.bash
fi
rebuild-tools:
<<: *defaults
steps:
- run: |-
curl -X POST https://circleci.com/api/v2/project/github/snyk/api-tooling/pipeline \
--header "Circle-Token: $CIRCLE_TOKEN" \
--header "content-type: application/json" \
--data '{"branch":"main"}'
workflows:
version: 2
CI:
Expand Down Expand Up @@ -187,3 +196,10 @@ workflows:
- snyk-bot-slack
requires:
- Build Docker Image

- rebuild-tools:
name: Rebuild api-tooling
context:
- manage-api-tooling
requires:
- Release

0 comments on commit 95fc344

Please sign in to comment.