Skip to content

Conversation

@Chriscbr
Copy link
Contributor

@Chriscbr Chriscbr commented Oct 19, 2021

Resolves part of https://github.com/cdklabs/construct-hub-internal/issues/56

This is a partial solution to improving deployment frequency. https://github.com/cdklabs/construct-hub by default only picks up changes from the web app once a day, but now it will pick up the new changes every time a new release is made.

actions API reference: https://docs.github.com/en/rest/reference/actions#create-a-workflow-dispatch-event

@Chriscbr Chriscbr requested a review from a team October 19, 2021 23:52
@Chriscbr Chriscbr changed the title feat: upgrade construct-hub whenever a release is made feat: upgrade construct-hub after releasing Oct 20, 2021
rewireCRA(project.tasks.tryFind("dev"));

// trigger construct-hub to pick up changes from construct-hub-webapp
// whenever a new release is made
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's add this as a projen feature!

project.release.triggerUpgrade('cdklabs/construct-hub', {
  githubToken: ...
})

@mergify mergify bot merged commit 9b3bf20 into main Oct 20, 2021
@mergify mergify bot deleted the rybickic/trigger-upgrades branch October 20, 2021 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants