Skip to content

feat: Add webhook to create an editor site #4786

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 24, 2025

Conversation

apburnes
Copy link
Contributor

@apburnes apburnes commented Apr 17, 2025

Closes #4783

Changes proposed in this pull request:

  • Adds a webhook to create a new pages editor site
  • Updates site creation to allow for sites with the same owner and repository name to exist in different organizations
  • Updates the site build webhook to kick off builds for multiple sites that have the same GH owner and respository name
  • Updates S3 services instance names to have unique identifier postfix to allow for multiple sites on the platform to pull from the same GH repository

security considerations

Adds new webhook to launch new sites from the pages editor app. Uses encrypted payloads to verify request validity.

@cloud-gov-pages-operations
Copy link
Contributor

🤖 This is an automated code coverage report

Total coverage (lines): 34.08%
Coverage diff: 0% 📈

@apburnes apburnes force-pushed the feat-add-webhook-to-create-editor-site branch 9 times, most recently from 4b44001 to 8736267 Compare April 23, 2025 22:08
@apburnes apburnes force-pushed the feat-add-webhook-to-create-editor-site branch 2 times, most recently from 48af384 to e76b21e Compare April 24, 2025 18:00
@apburnes apburnes requested a review from drewbo April 24, 2025 18:19
Copy link
Contributor

@drewbo drewbo left a comment

Choose a reason for hiding this comment

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

One small note about the environment variable name

@apburnes apburnes force-pushed the feat-add-webhook-to-create-editor-site branch from e76b21e to 242d8e7 Compare April 24, 2025 18:33
@apburnes apburnes merged commit 52af2bb into main Apr 24, 2025
7 of 8 checks passed
@apburnes apburnes deleted the feat-add-webhook-to-create-editor-site branch April 24, 2025 19:00
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.

Add Pages Editor "New Site" webhook flow
3 participants